Fix binding KP_NUMLOCK

Restore mapping SDL numlock to quake3 numlock.
This commit is contained in:
Zack Middleton 2014-08-26 22:10:44 -05:00
parent 00909a4c16
commit 077f6bd068

View file

@ -269,6 +269,7 @@ static keyNum_t IN_TranslateSDLToQ3Key( SDL_Keysym *keysym, qboolean down )
case SDLK_POWER: key = K_POWER; break; case SDLK_POWER: key = K_POWER; break;
case SDLK_UNDO: key = K_UNDO; break; case SDLK_UNDO: key = K_UNDO; break;
case SDLK_SCROLLLOCK: key = K_SCROLLOCK; break; case SDLK_SCROLLLOCK: key = K_SCROLLOCK; break;
case SDLK_NUMLOCKCLEAR: key = K_KP_NUMLOCK; break;
case SDLK_CAPSLOCK: key = K_CAPSLOCK; break; case SDLK_CAPSLOCK: key = K_CAPSLOCK; break;
default: default: