mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
in_sdl.c: Add missing KP_NUMLOCK key event.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@685 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
9b86e17502
commit
798b777233
1 changed files with 5 additions and 0 deletions
|
@ -471,6 +471,11 @@ void IN_SendKeyEvents (void)
|
|||
case SDLK_LALT:
|
||||
sym = K_ALT;
|
||||
break;
|
||||
case SDLK_NUMLOCK:
|
||||
if (gamekey)
|
||||
sym = KP_NUMLOCK;
|
||||
else sym = 0;
|
||||
break;
|
||||
case SDLK_KP0:
|
||||
if (gamekey)
|
||||
sym = KP_INS;
|
||||
|
|
Loading…
Reference in a new issue