From: havoc Date: Tue, 28 Jun 2005 19:23:36 +0000 (+0000) Subject: patch from christian holmberg to make XK_section key (I do not know what this is... X-Git-Tag: xonotic-v0.1.0preview~4717 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4e4a22fdee9be6264aabd8ab3331af2a82c7c395;p=xonotic%2Fdarkplaces.git patch from christian holmberg to make XK_section key (I do not know what this is) type ~ character for binds git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5467 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/vid_glx.c b/vid_glx.c index 33d32d67..30687ca7 100644 --- a/vid_glx.c +++ b/vid_glx.c @@ -207,6 +207,8 @@ static int XLateKey(XKeyEvent *ev, char *ascii) case XK_KP_Subtract: key = K_KP_MINUS; break; case XK_KP_Divide: key = K_KP_SLASH; break; + case XK_section: key = '~'; break; + default: if (keysym < 32 && keysym > 126) break;