summaryrefslogtreecommitdiff
path: root/src/sdl
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2014-08-26 22:10:44 -0500
committerTim Angus <tim@ngus.net>2014-08-28 11:20:29 +0100
commit54191e809310574ffe629bb10126e51e04503e3d (patch)
treed3b0202a7ce9a929cf93f2add70917c574009093 /src/sdl
parent6b3d934a7575e86f87677e3811ca582d8807ca20 (diff)
Fix binding KP_NUMLOCK
Restore mapping SDL numlock to quake3 numlock.
Diffstat (limited to 'src/sdl')
-rw-r--r--src/sdl/sdl_input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sdl/sdl_input.c b/src/sdl/sdl_input.c
index d7b0681d..0ea5d52d 100644
--- a/src/sdl/sdl_input.c
+++ b/src/sdl/sdl_input.c
@@ -270,6 +270,7 @@ static keyNum_t IN_TranslateSDLToQ3Key( SDL_Keysym *keysym, qboolean down )
case SDLK_POWER: key = K_POWER; break;
case SDLK_UNDO: key = K_UNDO; break;
case SDLK_SCROLLLOCK: key = K_SCROLLOCK; break;
+ case SDLK_NUMLOCKCLEAR: key = K_KP_NUMLOCK; break;
case SDLK_CAPSLOCK: key = K_CAPSLOCK; break;
default: