comparison src/video/windib/SDL_dibevents.c @ 1048:a78acdd4967e

Fixed direction key input on WinCE devices, thanks to cal-at-splitreflection-com. http://www.libsdl.org/pipermail/sdl/2005-April/068072.html
author Ryan C. Gordon <icculus@icculus.org>
date Sun, 17 Apr 2005 10:23:58 +0000
parents add87cc1de0a
children 51a8702d8ecd
comparison
equal deleted inserted replaced
1047:ffaaf7ecf685 1048:a78acdd4967e
114 GetMessage(&m, hwnd, 0, WM_USER); 114 GetMessage(&m, hwnd, 0, WM_USER);
115 wParam = m.wParam; 115 wParam = m.wParam;
116 } else { 116 } else {
117 wParam = 0; 117 wParam = 0;
118 } 118 }
119 } else {
120 wParam = 0;
121 } 119 }
122 #endif /* NO_GETKEYBOARDSTATE */ 120 #endif /* NO_GETKEYBOARDSTATE */
123 posted = SDL_PrivateKeyboard(SDL_PRESSED, 121 posted = SDL_PrivateKeyboard(SDL_PRESSED,
124 TranslateKey(wParam,HIWORD(lParam),&keysym,1)); 122 TranslateKey(wParam,HIWORD(lParam),&keysym,1));
125 } 123 }