adding check for syskeydown on control and alt
This commit is contained in:
parent
23a2b4ab7d
commit
d191a8b9f8
1 changed files with 2 additions and 2 deletions
|
@ -2536,9 +2536,9 @@ LRESULT DisplayServerWindows::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARA
|
|||
case WM_KEYUP:
|
||||
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 a new issue