mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-15 18:37:32 +00:00
Merge pull request #6587 from keymanapp/fix/windows/cherry-pick-6422-hotkeys-alt-broken
fix(windows): put correct HK_ALT flag for modifier 🍒
This commit is contained in:
commit
56fb756bdf
1 changed files with 1 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ LRESULT _kmnLowLevelKeyboardProc(
|
|||
FHotkeyShiftState = 0;
|
||||
if (GetKeyState(VK_LCONTROL) < 0) FHotkeyShiftState |= HK_CTRL;
|
||||
if (GetKeyState(VK_RCONTROL) < 0) FHotkeyShiftState |= HK_RCTRL_INVALID;
|
||||
if (GetKeyState(VK_LMENU) < 0) FHotkeyShiftState |= HK_CTRL;
|
||||
if (GetKeyState(VK_LMENU) < 0) FHotkeyShiftState |= HK_ALT;
|
||||
if (GetKeyState(VK_RMENU) < 0) FHotkeyShiftState |= HK_RALT_INVALID;
|
||||
if (GetKeyState(VK_LSHIFT) < 0) FHotkeyShiftState |= HK_SHIFT;
|
||||
if (GetKeyState(VK_RSHIFT) < 0) FHotkeyShiftState |= HK_RSHIFT_INVALID;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue