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:
Spoike 2021-06-21 13:45:26 +00:00
parent 7c162c1b5b
commit ca482a4f49

View file

@ -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_KP_Enter: key = K_KP_ENTER; break;
case XK_Return: key = K_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_Tab: key = K_TAB; break;
case XK_F1: key = K_F1; break; case XK_F1: key = K_F1; break;