Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
WH_KEYBOARD_LL hook to QKeyEvent
SavageTwinky last edited by aha_1980
Is there any way to manual way to convert this? I decided I wanted to make a sound board app that uses the low level hooks to play sounds without focus but noticed this isn't a 1:1 match from virtual key/scancode to QKeyEvent. It seems easy to get the reverse...
I'm currently digging into QWindowsKeyMapper but thats in a plugin that I do not seem to have easy access to from Qt. I may have to copy paste a bunch of code but if there is a way please teach me! Alternatively if there is a way to capture key presses from another app I don't have control over to make single key shortcuts .
SavageTwinky last edited by
I found a reasonable work around, instead of trying to match keys just use the event from WH_KEYBOARD_LL to assign it....