Lines Matching refs:MISC_keymap
57 static SDLKey MISC_keymap[256];
1002 for ( i=0; i<SDL_arraysize(MISC_keymap); ++i )
1003 MISC_keymap[i] = SDLK_UNKNOWN;
1006 MISC_keymap[XK_BackSpace&0xFF] = SDLK_BACKSPACE;
1007 MISC_keymap[XK_Tab&0xFF] = SDLK_TAB;
1008 MISC_keymap[XK_Clear&0xFF] = SDLK_CLEAR;
1009 MISC_keymap[XK_Return&0xFF] = SDLK_RETURN;
1010 MISC_keymap[XK_Pause&0xFF] = SDLK_PAUSE;
1011 MISC_keymap[XK_Escape&0xFF] = SDLK_ESCAPE;
1012 MISC_keymap[XK_Delete&0xFF] = SDLK_DELETE;
1014 MISC_keymap[XK_KP_0&0xFF] = SDLK_KP0; /* Keypad 0-9 */
1015 MISC_keymap[XK_KP_1&0xFF] = SDLK_KP1;
1016 MISC_keymap[XK_KP_2&0xFF] = SDLK_KP2;
1017 MISC_keymap[XK_KP_3&0xFF] = SDLK_KP3;
1018 MISC_keymap[XK_KP_4&0xFF] = SDLK_KP4;
1019 MISC_keymap[XK_KP_5&0xFF] = SDLK_KP5;
1020 MISC_keymap[XK_KP_6&0xFF] = SDLK_KP6;
1021 MISC_keymap[XK_KP_7&0xFF] = SDLK_KP7;
1022 MISC_keymap[XK_KP_8&0xFF] = SDLK_KP8;
1023 MISC_keymap[XK_KP_9&0xFF] = SDLK_KP9;
1024 MISC_keymap[XK_KP_Insert&0xFF] = SDLK_KP0;
1025 MISC_keymap[XK_KP_End&0xFF] = SDLK_KP1;
1026 MISC_keymap[XK_KP_Down&0xFF] = SDLK_KP2;
1027 MISC_keymap[XK_KP_Page_Down&0xFF] = SDLK_KP3;
1028 MISC_keymap[XK_KP_Left&0xFF] = SDLK_KP4;
1029 MISC_keymap[XK_KP_Begin&0xFF] = SDLK_KP5;
1030 MISC_keymap[XK_KP_Right&0xFF] = SDLK_KP6;
1031 MISC_keymap[XK_KP_Home&0xFF] = SDLK_KP7;
1032 MISC_keymap[XK_KP_Up&0xFF] = SDLK_KP8;
1033 MISC_keymap[XK_KP_Page_Up&0xFF] = SDLK_KP9;
1034 MISC_keymap[XK_KP_Delete&0xFF] = SDLK_KP_PERIOD;
1035 MISC_keymap[XK_KP_Decimal&0xFF] = SDLK_KP_PERIOD;
1036 MISC_keymap[XK_KP_Divide&0xFF] = SDLK_KP_DIVIDE;
1037 MISC_keymap[XK_KP_Multiply&0xFF] = SDLK_KP_MULTIPLY;
1038 MISC_keymap[XK_KP_Subtract&0xFF] = SDLK_KP_MINUS;
1039 MISC_keymap
1040 MISC_keymap[XK_KP_Enter&0xFF] = SDLK_KP_ENTER;
1041 MISC_keymap[XK_KP_Equal&0xFF] = SDLK_KP_EQUALS;
1043 MISC_keymap[XK_Up&0xFF] = SDLK_UP;
1044 MISC_keymap[XK_Down&0xFF] = SDLK_DOWN;
1045 MISC_keymap[XK_Right&0xFF] = SDLK_RIGHT;
1046 MISC_keymap[XK_Left&0xFF] = SDLK_LEFT;
1047 MISC_keymap[XK_Insert&0xFF] = SDLK_INSERT;
1048 MISC_keymap[XK_Home&0xFF] = SDLK_HOME;
1049 MISC_keymap[XK_End&0xFF] = SDLK_END;
1050 MISC_keymap[XK_Page_Up&0xFF] = SDLK_PAGEUP;
1051 MISC_keymap[XK_Page_Down&0xFF] = SDLK_PAGEDOWN;
1053 MISC_keymap[XK_F1&0xFF] = SDLK_F1;
1054 MISC_keymap[XK_F2&0xFF] = SDLK_F2;
1055 MISC_keymap[XK_F3&0xFF] = SDLK_F3;
1056 MISC_keymap[XK_F4&0xFF] = SDLK_F4;
1057 MISC_keymap[XK_F5&0xFF] = SDLK_F5;
1058 MISC_keymap[XK_F6&0xFF] = SDLK_F6;
1059 MISC_keymap[XK_F7&0xFF] = SDLK_F7;
1060 MISC_keymap[XK_F8&0xFF] = SDLK_F8;
1061 MISC_keymap[XK_F9&0xFF] = SDLK_F9;
1062 MISC_keymap[XK_F10&0xFF] = SDLK_F10;
1063 MISC_keymap[XK_F11&0xFF] = SDLK_F11;
1064 MISC_keymap[XK_F12&0xFF] = SDLK_F12;
1065 MISC_keymap[XK_F13&0xFF] = SDLK_F13;
1066 MISC_keymap[XK_F14&0xFF] = SDLK_F14;
1067 MISC_keymap[XK_F15&0xFF] = SDLK_F15;
1069 MISC_keymap[XK_Num_Lock&0xFF] = SDLK_NUMLOCK;
1070 MISC_keymap[XK_Caps_Lock&0xFF] = SDLK_CAPSLOCK;
1071 MISC_keymap[XK_Scroll_Lock&0xFF] = SDLK_SCROLLOCK;
1072 MISC_keymap[XK_Shift_R&0xFF] = SDLK_RSHIFT;
1073 MISC_keymap[XK_Shift_L&0xFF] = SDLK_LSHIFT;
1074 MISC_keymap[XK_Control_R&0xFF] = SDLK_RCTRL;
1075 MISC_keymap[XK_Control_L&0xFF] = SDLK_LCTRL;
1076 MISC_keymap[XK_Alt_R&0xFF] = SDLK_RALT;
1077 MISC_keymap[XK_Alt_L&0xFF] = SDLK_LALT;
1078 MISC_keymap[XK_Meta_R&0xFF] = SDLK_RMETA;
1079 MISC_keymap[XK_Meta_L&0xFF] = SDLK_LMETA;
1080 MISC_keymap[XK_Super_L&0xFF] = SDLK_LSUPER; /* Left "Windows" */
1081 MISC_keymap[XK_Super_R&0xFF] = SDLK_RSUPER; /* Right "Windows */
1082 MISC_keymap[XK_Mode_switch&0xFF] = SDLK_MODE; /* "Alt Gr" key */
1083 MISC_keymap[XK_Multi_key&0xFF] = SDLK_COMPOSE; /* Multi-key compose */
1085 MISC_keymap[XK_Help&0xFF] = SDLK_HELP;
1086 MISC_keymap[XK_Print&0xFF] = SDLK_PRINT;
1087 MISC_keymap[XK_Sys_Req&0xFF] = SDLK_SYSREQ;
1088 MISC_keymap[XK_Break&0xFF] = SDLK_BREAK;
1089 MISC_keymap[XK_Menu&0xFF] = SDLK_MENU;
1090 MISC_keymap[XK_Hyper_R&0xFF] = SDLK_MENU; /* Windows "Menu" key */
1137 key = MISC_keymap[xsym&0xFF];
1242 if ( MISC_keymap[i] == keysym ) {