aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
diff options
context:
space:
mode:
authorKostas Nakos2008-01-02 17:38:25 +0000
committerKostas Nakos2008-01-02 17:38:25 +0000
commit4e7fe0275128ebde8a4d7a3a8c2ffe662558678a (patch)
tree9536d683312589270e5caec256808327a0c05c30 /backends/platform
parentb7f15f1545a954de8b182c91b2961d6dfa98f510 (diff)
downloadscummvm-rg350-4e7fe0275128ebde8a4d7a3a8c2ffe662558678a.tar.gz
scummvm-rg350-4e7fe0275128ebde8a4d7a3a8c2ffe662558678a.tar.bz2
scummvm-rg350-4e7fe0275128ebde8a4d7a3a8c2ffe662558678a.zip
cannot handle key mods in ce and unicode is dodgy to say the least. fixes bug #1748135
svn-id: r30158
Diffstat (limited to 'backends/platform')
-rw-r--r--backends/platform/wince/wince-sdl.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/backends/platform/wince/wince-sdl.cpp b/backends/platform/wince/wince-sdl.cpp
index b41b1ebf39..e29444552e 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;
}