Not responding to F10 (scancode 68)?
Virtual MIDI controller for Linux, Windows and OSX
Brought to you by:
plcl
First of all thank you for the great program!
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.
Is VMPK indeed treating F10 differently from the other keys? Or is it a problem specific to my setup?
Thanks!
VMPK does not process F10 in any way. The only function key with a predefined use is F1 (for help) that you can redefine in the shortcut editor.
I don't think it is a problem with your setup. It affects Windows, but not other OS. I am not sure yet if it is another MS annoyance, or a bug in Qt.
I see, since the problem is upstream, I'm guessing there isn't really anything one can do about it. I'll consider setting VMPK up on mac instead. For now I'll just bind the note to a different key. Thank you for the response and verifying the problem!
There is a specific message for F10 that causes this issue:
https://learn.microsoft.com/en-us/windows/win32/inputdev/wm-syskeydown
All other keys are reported as WM_KEYDOWN:
https://learn.microsoft.com/en-us/windows/win32/inputdev/wm-keydown
This will be fixed by this GH ticket: https://github.com/pedrolcl/VMPK/issues/27
Thank you for looking into this problem and fixing it!