From 4e7fe0275128ebde8a4d7a3a8c2ffe662558678a Mon Sep 17 00:00:00 2001 From: Kostas Nakos Date: Wed, 2 Jan 2008 17:38:25 +0000 Subject: [PATCH] cannot handle key mods in ce and unicode is dodgy to say the least. fixes bug #1748135 svn-id: r30158 --- backends/platform/wince/wince-sdl.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/backends/platform/wince/wince-sdl.cpp b/backends/platform/wince/wince-sdl.cpp index b41b1ebf39f..e29444552e9 100644 --- a/backends/platform/wince/wince-sdl.cpp +++ b/backends/platform/wince/wince-sdl.cpp @@ -2192,10 +2192,6 @@ static int mapKeyCE(SDLKey key, SDLMod mod, Uint16 unicode, bool unfilter) return key - SDLK_KP0 + '0'; } else if (key >= SDLK_UP && key <= SDLK_PAGEDOWN) { return key; - } else if (unicode) { - return unicode; - } else if (key >= 'a' && key <= 'z' && (mod & KMOD_SHIFT)) { - return key & ~0x20; } else if (key >= SDLK_NUMLOCK && key <= SDLK_EURO) { return 0; }