]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
patch from christian holmberg to make XK_section key (I do not know what this is...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 28 Jun 2005 19:23:36 +0000 (19:23 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 28 Jun 2005 19:23:36 +0000 (19:23 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5467 d7cf8633-e32d-0410-b094-e92efae38249

vid_glx.c

index 33d32d67d20b1743fdf2ace6ef31298efffa8b3d..30687ca78ac1368581577e32d755aa2eb0fd162c 100644 (file)
--- 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;