fix for numpad fighting (I hope)

svn-id: r6790
This commit is contained in:
Max Horn 2003-03-10 01:37:34 +00:00
parent dacb430f8a
commit bce210cc25

View file

@ -481,6 +481,8 @@ static int mapKey(SDLKey key, SDLMod mod, Uint16 unicode)
{
if (key >= SDLK_F1 && key <= SDLK_F9) {
return key - SDLK_F1 + 315;
} else if (key >= SDLK_KP0 && key <= SDLK_KP9) {
return key - SDLK_KP0 + '0';
} else if (key >= SDLK_UP && key <= SDLK_PAGEDOWN) {
return key;
} else if (unicode) {