From 4e4a22fdee9be6264aabd8ab3331af2a82c7c395 Mon Sep 17 00:00:00 2001 From: havoc Date: Tue, 28 Jun 2005 19:23:36 +0000 Subject: [PATCH] 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 --- vid_glx.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.39.2