mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-14 05:30:53 +00:00
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:
parent
b7f15f1545
commit
4e7fe02751
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user