WH_KEYBOARD_LL hook to QKeyEvent



  • 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 .



  • I found a reasonable work around, instead of trying to match keys just use the event from WH_KEYBOARD_LL to assign it....


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.