feat(windows): left-only hotkeys
Fixes #364. Hotkeys in Windows are currently implemented using RegisterHotkey. However RegisterHotkey does not distinguish between left and right modifier keys, which means that they override some keyboards' RAlt combinations. This feature reimplements hotkey support in the low level keyboard hook, and adds a feature flag / debug flag Flag_UseRegisterHotkey to return to the RegisterHotkey model if that is so needed. I have made minimal refactoring changes to this code, although there are certainly functions here which could be improved. I have flagged a couple of potential improvements with TODO.
parent
be04f55b
Please register or sign in to comment