src/video/x11/SDL_x11events.c
changeset 805 df1a3218b468
parent 769 b8d311d90021
child 1159 787b8d2c23e4
--- a/src/video/x11/SDL_x11events.c	Tue Feb 10 15:31:35 2004 +0000
+++ b/src/video/x11/SDL_x11events.c	Tue Feb 10 15:39:15 2004 +0000
@@ -515,6 +515,9 @@
 	/* These X keysyms have 0xFE as the high byte */
 	ODD_keymap[XK_dead_circumflex&0xFF] = SDLK_CARET;
 #endif
+#ifdef XK_ISO_Level3_Shift
+	ODD_keymap[XK_ISO_Level3_Shift&0xFF] = SDLK_MODE; /* "Alt Gr" key */
+#endif
 
 	/* Map the miscellaneous keys */
 	for ( i=0; i<SDL_TABLESIZE(MISC_keymap); ++i )