From 54191e809310574ffe629bb10126e51e04503e3d Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Tue, 26 Aug 2014 22:10:44 -0500 Subject: Fix binding KP_NUMLOCK Restore mapping SDL numlock to quake3 numlock. --- src/sdl/sdl_input.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/sdl') 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: -- cgit