mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-20 15:51:07 +01:00
windows: Fix Print Screen key capture during keyboard grab
This commit is contained in:
@@ -497,6 +497,9 @@ WIN_KeyboardHookProc(int nCode, WPARAM wParam, LPARAM lParam)
|
|||||||
case VK_RCONTROL:
|
case VK_RCONTROL:
|
||||||
scanCode = SDL_SCANCODE_RCTRL;
|
scanCode = SDL_SCANCODE_RCTRL;
|
||||||
break;
|
break;
|
||||||
|
case VK_SNAPSHOT:
|
||||||
|
scanCode = SDL_SCANCODE_PRINTSCREEN;
|
||||||
|
break;
|
||||||
|
|
||||||
// These are required to intercept Alt+Tab and Alt+Esc on Windows 7
|
// These are required to intercept Alt+Tab and Alt+Esc on Windows 7
|
||||||
case VK_TAB:
|
case VK_TAB:
|
||||||
|
|||||||
Reference in New Issue
Block a user