adding check for syskeydown on control and alt
(cherry picked from commit d191a8b9f8
)
This commit is contained in:
parent
8f3eec930b
commit
d080c0de51
|
@ -1091,9 +1091,9 @@ LRESULT OS_Windows::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
case WM_KEYDOWN: {
|
||||
|
||||
if (wParam == VK_SHIFT)
|
||||
shift_mem = uMsg == WM_KEYDOWN;
|
||||
shift_mem = (uMsg == WM_KEYDOWN || uMsg == WM_SYSKEYDOWN);
|
||||
if (wParam == VK_CONTROL)
|
||||
control_mem = uMsg == WM_KEYDOWN;
|
||||
control_mem = (uMsg == WM_KEYDOWN || uMsg == WM_SYSKEYDOWN);
|
||||
if (wParam == VK_MENU) {
|
||||
alt_mem = (uMsg == WM_KEYDOWN || uMsg == WM_SYSKEYDOWN);
|
||||
if (lParam & (1 << 24))
|
||||
|
|
Loading…
Reference in New Issue