mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-29 23:22:01 +00:00
Some keys were not getting mapped to quake keycodes in X11.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5899 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
7c162c1b5b
commit
ca482a4f49
1 changed files with 7 additions and 0 deletions
|
@ -2580,6 +2580,13 @@ static void X_KeyEvent(XKeyEvent *ev, qboolean pressed, qboolean filtered)
|
|||
case XK_KP_Enter: key = K_KP_ENTER; break;
|
||||
case XK_Return: key = K_ENTER; break;
|
||||
|
||||
case XK_Num_Lock: key = K_KP_NUMLOCK; break;
|
||||
case XK_Caps_Lock: key = K_CAPSLOCK; break;
|
||||
case XK_Scroll_Lock: key = K_SCRLCK; break;
|
||||
case XK_Print: key = K_PRINTSCREEN; break;
|
||||
case XK_Super_L: key = K_LWIN; break;
|
||||
case XK_Super_R: key = K_RWIN; break;
|
||||
|
||||
case XK_Tab: key = K_TAB; break;
|
||||
|
||||
case XK_F1: key = K_F1; break;
|
||||
|
|
Loading…
Reference in a new issue