How to catch the Fn+? keys on laptop?

前端 未结 3 844
情话喂你
情话喂你 2021-01-17 22:59

Can I catch the Fn+F3( or Fn+F2....) keys with my program?

3条回答
  •  灰色年华
    2021-01-17 23:43

    @Leo, the main function of the Fn is change the scancodes of other keys on the keyboard, unfortunately the Fn key usually (in some systems this key returns an ScanCode) doesn't have an scan code, additionally the behavior of this key is not standardized as other keys (Ctrl ALT) because of this is very hard detect or intercept when this key is pressed.

    You can check theses links for more info

    • Mystery of the Fn key - A guide to remapping the Fn key in Windows
    • Keyboard scancodes

提交回复
热议问题