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