pedrolcl / VMPK

Virtual MIDI Piano Keyboard (Mirror)
https://sourceforge.net/projects/vmpk/
GNU General Public License v3.0
35 stars 6 forks source link

Enable F10 key in Windows when using native filters #27

Open pedrolcl opened 1 month ago

pedrolcl commented 1 month ago

Comes from https://sourceforge.net/p/vmpk/support-requests/66/

I created a raw keyboard map on Windows, and everything is working fine except that VMPK seems to not recognize F10. I realize there are special keys on the keyboard such as Fn which do not send any input to the system on its own, but I think F10 is not one of them since a scancode finding software is able to detect F10 with the corresponding scancode (044 in hex and 68 in dec). I also tried 3 different keyboards I have and the result is the same, everything else works fine except F10, so I think it is not a keyboard-specific problem.

F10 is reported by Windows as WM_SYSKEYDOWN instead of WM_KEYDOWN: https://learn.microsoft.com/en-us/windows/win32/inputdev/wm-syskeydown https://learn.microsoft.com/en-us/windows/win32/inputdev/wm-keydown

pedrolcl commented 1 month ago

CC: @zzhfro ?