mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-08 23:52:40 +00:00
Fixed pause key on Windows (thanks Mikhail!)
This commit is contained in:
@@ -162,6 +162,9 @@ static SDL_Scancode WindowsScanCodeToSDLScanCode(LPARAM lParam, WPARAM wParam)
|
||||
if (scanCode != 0) {
|
||||
if ((keyFlags & KF_EXTENDED) == KF_EXTENDED) {
|
||||
scanCode = MAKEWORD(scanCode, 0xe0);
|
||||
} else if (scanCode == 0x45) {
|
||||
/* Pause */
|
||||
scanCode = 0xe046;
|
||||
}
|
||||
} else {
|
||||
Uint16 vkCode = LOWORD(wParam);
|
||||
|
||||
Reference in New Issue
Block a user