1.1 --- a/src/video/windib/SDL_dibevents.c Tue Mar 14 06:00:30 2006 +0000
1.2 +++ b/src/video/windib/SDL_dibevents.c Tue Mar 14 07:06:06 2006 +0000
1.3 @@ -160,7 +160,7 @@
1.4 SDL_keysym keysym;
1.5
1.6 #ifdef _WIN32_WCE
1.7 - // Drop GAPI artefacts
1.8 + // Drop GAPI artifacts
1.9 if (wParam == 0x84 || wParam == 0x5B)
1.10 return 0;
1.11
1.12 @@ -197,6 +197,11 @@
1.13 wParam = VK_LMENU;
1.14 break;
1.15 }
1.16 + /* Windows only reports keyup for print screen */
1.17 + if ( wParam == VK_SNAPSHOT && SDL_GetKeyState(NULL)[SDLK_PRINT] == SDL_RELEASED ) {
1.18 + posted = SDL_PrivateKeyboard(SDL_PRESSED,
1.19 + TranslateKey(wParam,HIWORD(lParam),&keysym,1));
1.20 + }
1.21 posted = SDL_PrivateKeyboard(SDL_RELEASED,
1.22 TranslateKey(wParam,HIWORD(lParam),&keysym,0));
1.23 }