# HG changeset patch # User Ryan C. Gordon # Date 1113733438 0 # Node ID a78acdd4967e6f63b3177238cbdd44a269d1360c # Parent ffaaf7ecf685ca9fae0bf5ffaa9412a7bdd54f06 Fixed direction key input on WinCE devices, thanks to cal-at-splitreflection-com. http://www.libsdl.org/pipermail/sdl/2005-April/068072.html diff -r ffaaf7ecf685 -r a78acdd4967e src/video/windib/SDL_dibevents.c --- a/src/video/windib/SDL_dibevents.c Sun Apr 17 10:19:22 2005 +0000 +++ b/src/video/windib/SDL_dibevents.c Sun Apr 17 10:23:58 2005 +0000 @@ -116,8 +116,6 @@ } else { wParam = 0; } - } else { - wParam = 0; } #endif /* NO_GETKEYBOARDSTATE */ posted = SDL_PrivateKeyboard(SDL_PRESSED,