I managed to use RegisterHotKey to get WM_HOTKEY messages. But that's only
good for short key presses. What I haven't figured out yet is how I would
detect a hardware key beeing hold for a while before it is released again.
Right now, holding a hardware key on my HP rx3715 triggers a secondary
application that can be configured through the Buttons settings by the user.
Can anyone point me into the right direction?