src/video/x11/SDL_x11events.c
changeset 805 df1a3218b468
parent 769 b8d311d90021
child 1159 787b8d2c23e4
equal deleted inserted replaced
804:b2fda076b02e 805:df1a3218b468
   512 		ODD_keymap[i] = SDLK_UNKNOWN;
   512 		ODD_keymap[i] = SDLK_UNKNOWN;
   513 
   513 
   514 #ifdef XK_dead_circumflex
   514 #ifdef XK_dead_circumflex
   515 	/* These X keysyms have 0xFE as the high byte */
   515 	/* These X keysyms have 0xFE as the high byte */
   516 	ODD_keymap[XK_dead_circumflex&0xFF] = SDLK_CARET;
   516 	ODD_keymap[XK_dead_circumflex&0xFF] = SDLK_CARET;
       
   517 #endif
       
   518 #ifdef XK_ISO_Level3_Shift
       
   519 	ODD_keymap[XK_ISO_Level3_Shift&0xFF] = SDLK_MODE; /* "Alt Gr" key */
   517 #endif
   520 #endif
   518 
   521 
   519 	/* Map the miscellaneous keys */
   522 	/* Map the miscellaneous keys */
   520 	for ( i=0; i<SDL_TABLESIZE(MISC_keymap); ++i )
   523 	for ( i=0; i<SDL_TABLESIZE(MISC_keymap); ++i )
   521 		MISC_keymap[i] = SDLK_UNKNOWN;
   524 		MISC_keymap[i] = SDLK_UNKNOWN;