I know you can use CTRL, ALT, SHIFT, etc. modifiers for RegisterHotKey, but what about the Fn key?
我的笔记本电脑上曾经有一些过时的软件,当按下 Fn+Up/Down 时,它们会改变亮度。我删除了所有过时的软件,并且我想编写一个执行相同操作的程序。
任何帮助表示赞赏!
Fn key is modifier but not software like ALT, SHIFT, etc. which are processed by operation system. Fn is hardware key modifier so it changes keycode keyboard sends to operation system.
For example ← is 37 and Fn + ← is 36 so when you need to handle Fn + ← press you need to react on 36 keycode.
PS.在某些键盘上,Fn 键发送键码,因此可以单独处理,但通常不会。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)