win32: pause works as a hotkey
This commit is contained in:
parent
dd00cbd1b7
commit
6047ff9c72
|
@ -2659,6 +2659,7 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM
|
|||
//break;
|
||||
|
||||
case WM_KEYDOWN:
|
||||
if(wParam != VK_PAUSE)
|
||||
break;
|
||||
case WM_SYSKEYDOWN:
|
||||
case WM_CUSTKEYDOWN:
|
||||
|
@ -2669,6 +2670,8 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM
|
|||
break;
|
||||
}
|
||||
case WM_KEYUP:
|
||||
if(wParam != VK_PAUSE)
|
||||
break;
|
||||
case WM_SYSKEYUP:
|
||||
case WM_CUSTKEYUP:
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue