Reading “Fn” key

时间秒杀一切 提交于 2020-01-15 09:38:07

问题


I'd like to find out the easiest way how to read Fn key from my keyboard in Python (Windows).I've tried to use Pygame library, but it didn't work for Fn key.


回答1:


The "Fn" key is usually a proprietary, device-specific modifier that is handled by the device driver (or the hardware itself). It's not a normal button, and you can't catch it in your code. To be honest, I can't imagine why you'd ever possibly want to.



来源:https://stackoverflow.com/questions/7713539/reading-fn-key

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!