cannot handle key mods in ce and unicode is dodgy to say the least. fixes bug #1748135

svn-id: r30158
This commit is contained in:
Kostas Nakos 2008-01-02 17:38:25 +00:00
parent b7f15f1545
commit 4e7fe02751

View File

@ -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;
}