mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-15 18:37:32 +00:00
fix(windows): put correct HK_ALT flag for modifier
This commit is contained in:
parent
499c227336
commit
66e52bc52f
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