1pragma Ada_2005; 2pragma Style_Checks (Off); 3 4with Interfaces.C; use Interfaces.C; 5 6package SDL_SDL_keysym_h is 7 8 -- unsupported macro: KMOD_CTRL (KMOD_LCTRL|KMOD_RCTRL) 9 -- unsupported macro: KMOD_SHIFT (KMOD_LSHIFT|KMOD_RSHIFT) 10 -- unsupported macro: KMOD_ALT (KMOD_LALT|KMOD_RALT) 11 -- unsupported macro: KMOD_META (KMOD_LMETA|KMOD_RMETA) 12 subtype SDLKey is unsigned; 13 SDLK_UNKNOWN : constant SDLKey := 0; 14 SDLK_FIRST : constant SDLKey := 0; 15 SDLK_BACKSPACE : constant SDLKey := 8; 16 SDLK_TAB : constant SDLKey := 9; 17 SDLK_CLEAR : constant SDLKey := 12; 18 SDLK_RETURN : constant SDLKey := 13; 19 SDLK_PAUSE : constant SDLKey := 19; 20 SDLK_ESCAPE : constant SDLKey := 27; 21 SDLK_SPACE : constant SDLKey := 32; 22 SDLK_EXCLAIM : constant SDLKey := 33; 23 SDLK_QUOTEDBL : constant SDLKey := 34; 24 SDLK_HASH : constant SDLKey := 35; 25 SDLK_DOLLAR : constant SDLKey := 36; 26 SDLK_AMPERSAND : constant SDLKey := 38; 27 SDLK_QUOTE : constant SDLKey := 39; 28 SDLK_LEFTPAREN : constant SDLKey := 40; 29 SDLK_RIGHTPAREN : constant SDLKey := 41; 30 SDLK_ASTERISK : constant SDLKey := 42; 31 SDLK_PLUS : constant SDLKey := 43; 32 SDLK_COMMA : constant SDLKey := 44; 33 SDLK_MINUS : constant SDLKey := 45; 34 SDLK_PERIOD : constant SDLKey := 46; 35 SDLK_SLASH : constant SDLKey := 47; 36 SDLK_0 : constant SDLKey := 48; 37 SDLK_1 : constant SDLKey := 49; 38 SDLK_2 : constant SDLKey := 50; 39 SDLK_3 : constant SDLKey := 51; 40 SDLK_4 : constant SDLKey := 52; 41 SDLK_5 : constant SDLKey := 53; 42 SDLK_6 : constant SDLKey := 54; 43 SDLK_7 : constant SDLKey := 55; 44 SDLK_8 : constant SDLKey := 56; 45 SDLK_9 : constant SDLKey := 57; 46 SDLK_COLON : constant SDLKey := 58; 47 SDLK_SEMICOLON : constant SDLKey := 59; 48 SDLK_LESS : constant SDLKey := 60; 49 SDLK_EQUALS : constant SDLKey := 61; 50 SDLK_GREATER : constant SDLKey := 62; 51 SDLK_QUESTION : constant SDLKey := 63; 52 SDLK_AT : constant SDLKey := 64; 53 SDLK_LEFTBRACKET : constant SDLKey := 91; 54 SDLK_BACKSLASH : constant SDLKey := 92; 55 SDLK_RIGHTBRACKET : constant SDLKey := 93; 56 SDLK_CARET : constant SDLKey := 94; 57 SDLK_UNDERSCORE : constant SDLKey := 95; 58 SDLK_BACKQUOTE : constant SDLKey := 96; 59 SDLK_a : constant SDLKey := 97; 60 SDLK_b : constant SDLKey := 98; 61 SDLK_c : constant SDLKey := 99; 62 SDLK_d : constant SDLKey := 100; 63 SDLK_e : constant SDLKey := 101; 64 SDLK_f : constant SDLKey := 102; 65 SDLK_g : constant SDLKey := 103; 66 SDLK_h : constant SDLKey := 104; 67 SDLK_i : constant SDLKey := 105; 68 SDLK_j : constant SDLKey := 106; 69 SDLK_k : constant SDLKey := 107; 70 SDLK_l : constant SDLKey := 108; 71 SDLK_m : constant SDLKey := 109; 72 SDLK_n : constant SDLKey := 110; 73 SDLK_o : constant SDLKey := 111; 74 SDLK_p : constant SDLKey := 112; 75 SDLK_q : constant SDLKey := 113; 76 SDLK_r : constant SDLKey := 114; 77 SDLK_s : constant SDLKey := 115; 78 SDLK_t : constant SDLKey := 116; 79 SDLK_u : constant SDLKey := 117; 80 SDLK_v : constant SDLKey := 118; 81 SDLK_w : constant SDLKey := 119; 82 SDLK_x : constant SDLKey := 120; 83 SDLK_y : constant SDLKey := 121; 84 SDLK_z : constant SDLKey := 122; 85 SDLK_DELETE : constant SDLKey := 127; 86 SDLK_WORLD_0 : constant SDLKey := 160; 87 SDLK_WORLD_1 : constant SDLKey := 161; 88 SDLK_WORLD_2 : constant SDLKey := 162; 89 SDLK_WORLD_3 : constant SDLKey := 163; 90 SDLK_WORLD_4 : constant SDLKey := 164; 91 SDLK_WORLD_5 : constant SDLKey := 165; 92 SDLK_WORLD_6 : constant SDLKey := 166; 93 SDLK_WORLD_7 : constant SDLKey := 167; 94 SDLK_WORLD_8 : constant SDLKey := 168; 95 SDLK_WORLD_9 : constant SDLKey := 169; 96 SDLK_WORLD_10 : constant SDLKey := 170; 97 SDLK_WORLD_11 : constant SDLKey := 171; 98 SDLK_WORLD_12 : constant SDLKey := 172; 99 SDLK_WORLD_13 : constant SDLKey := 173; 100 SDLK_WORLD_14 : constant SDLKey := 174; 101 SDLK_WORLD_15 : constant SDLKey := 175; 102 SDLK_WORLD_16 : constant SDLKey := 176; 103 SDLK_WORLD_17 : constant SDLKey := 177; 104 SDLK_WORLD_18 : constant SDLKey := 178; 105 SDLK_WORLD_19 : constant SDLKey := 179; 106 SDLK_WORLD_20 : constant SDLKey := 180; 107 SDLK_WORLD_21 : constant SDLKey := 181; 108 SDLK_WORLD_22 : constant SDLKey := 182; 109 SDLK_WORLD_23 : constant SDLKey := 183; 110 SDLK_WORLD_24 : constant SDLKey := 184; 111 SDLK_WORLD_25 : constant SDLKey := 185; 112 SDLK_WORLD_26 : constant SDLKey := 186; 113 SDLK_WORLD_27 : constant SDLKey := 187; 114 SDLK_WORLD_28 : constant SDLKey := 188; 115 SDLK_WORLD_29 : constant SDLKey := 189; 116 SDLK_WORLD_30 : constant SDLKey := 190; 117 SDLK_WORLD_31 : constant SDLKey := 191; 118 SDLK_WORLD_32 : constant SDLKey := 192; 119 SDLK_WORLD_33 : constant SDLKey := 193; 120 SDLK_WORLD_34 : constant SDLKey := 194; 121 SDLK_WORLD_35 : constant SDLKey := 195; 122 SDLK_WORLD_36 : constant SDLKey := 196; 123 SDLK_WORLD_37 : constant SDLKey := 197; 124 SDLK_WORLD_38 : constant SDLKey := 198; 125 SDLK_WORLD_39 : constant SDLKey := 199; 126 SDLK_WORLD_40 : constant SDLKey := 200; 127 SDLK_WORLD_41 : constant SDLKey := 201; 128 SDLK_WORLD_42 : constant SDLKey := 202; 129 SDLK_WORLD_43 : constant SDLKey := 203; 130 SDLK_WORLD_44 : constant SDLKey := 204; 131 SDLK_WORLD_45 : constant SDLKey := 205; 132 SDLK_WORLD_46 : constant SDLKey := 206; 133 SDLK_WORLD_47 : constant SDLKey := 207; 134 SDLK_WORLD_48 : constant SDLKey := 208; 135 SDLK_WORLD_49 : constant SDLKey := 209; 136 SDLK_WORLD_50 : constant SDLKey := 210; 137 SDLK_WORLD_51 : constant SDLKey := 211; 138 SDLK_WORLD_52 : constant SDLKey := 212; 139 SDLK_WORLD_53 : constant SDLKey := 213; 140 SDLK_WORLD_54 : constant SDLKey := 214; 141 SDLK_WORLD_55 : constant SDLKey := 215; 142 SDLK_WORLD_56 : constant SDLKey := 216; 143 SDLK_WORLD_57 : constant SDLKey := 217; 144 SDLK_WORLD_58 : constant SDLKey := 218; 145 SDLK_WORLD_59 : constant SDLKey := 219; 146 SDLK_WORLD_60 : constant SDLKey := 220; 147 SDLK_WORLD_61 : constant SDLKey := 221; 148 SDLK_WORLD_62 : constant SDLKey := 222; 149 SDLK_WORLD_63 : constant SDLKey := 223; 150 SDLK_WORLD_64 : constant SDLKey := 224; 151 SDLK_WORLD_65 : constant SDLKey := 225; 152 SDLK_WORLD_66 : constant SDLKey := 226; 153 SDLK_WORLD_67 : constant SDLKey := 227; 154 SDLK_WORLD_68 : constant SDLKey := 228; 155 SDLK_WORLD_69 : constant SDLKey := 229; 156 SDLK_WORLD_70 : constant SDLKey := 230; 157 SDLK_WORLD_71 : constant SDLKey := 231; 158 SDLK_WORLD_72 : constant SDLKey := 232; 159 SDLK_WORLD_73 : constant SDLKey := 233; 160 SDLK_WORLD_74 : constant SDLKey := 234; 161 SDLK_WORLD_75 : constant SDLKey := 235; 162 SDLK_WORLD_76 : constant SDLKey := 236; 163 SDLK_WORLD_77 : constant SDLKey := 237; 164 SDLK_WORLD_78 : constant SDLKey := 238; 165 SDLK_WORLD_79 : constant SDLKey := 239; 166 SDLK_WORLD_80 : constant SDLKey := 240; 167 SDLK_WORLD_81 : constant SDLKey := 241; 168 SDLK_WORLD_82 : constant SDLKey := 242; 169 SDLK_WORLD_83 : constant SDLKey := 243; 170 SDLK_WORLD_84 : constant SDLKey := 244; 171 SDLK_WORLD_85 : constant SDLKey := 245; 172 SDLK_WORLD_86 : constant SDLKey := 246; 173 SDLK_WORLD_87 : constant SDLKey := 247; 174 SDLK_WORLD_88 : constant SDLKey := 248; 175 SDLK_WORLD_89 : constant SDLKey := 249; 176 SDLK_WORLD_90 : constant SDLKey := 250; 177 SDLK_WORLD_91 : constant SDLKey := 251; 178 SDLK_WORLD_92 : constant SDLKey := 252; 179 SDLK_WORLD_93 : constant SDLKey := 253; 180 SDLK_WORLD_94 : constant SDLKey := 254; 181 SDLK_WORLD_95 : constant SDLKey := 255; 182 SDLK_KP0 : constant SDLKey := 256; 183 SDLK_KP1 : constant SDLKey := 257; 184 SDLK_KP2 : constant SDLKey := 258; 185 SDLK_KP3 : constant SDLKey := 259; 186 SDLK_KP4 : constant SDLKey := 260; 187 SDLK_KP5 : constant SDLKey := 261; 188 SDLK_KP6 : constant SDLKey := 262; 189 SDLK_KP7 : constant SDLKey := 263; 190 SDLK_KP8 : constant SDLKey := 264; 191 SDLK_KP9 : constant SDLKey := 265; 192 SDLK_KP_PERIOD : constant SDLKey := 266; 193 SDLK_KP_DIVIDE : constant SDLKey := 267; 194 SDLK_KP_MULTIPLY : constant SDLKey := 268; 195 SDLK_KP_MINUS : constant SDLKey := 269; 196 SDLK_KP_PLUS : constant SDLKey := 270; 197 SDLK_KP_ENTER : constant SDLKey := 271; 198 SDLK_KP_EQUALS : constant SDLKey := 272; 199 SDLK_UP : constant SDLKey := 273; 200 SDLK_DOWN : constant SDLKey := 274; 201 SDLK_RIGHT : constant SDLKey := 275; 202 SDLK_LEFT : constant SDLKey := 276; 203 SDLK_INSERT : constant SDLKey := 277; 204 SDLK_HOME : constant SDLKey := 278; 205 SDLK_END : constant SDLKey := 279; 206 SDLK_PAGEUP : constant SDLKey := 280; 207 SDLK_PAGEDOWN : constant SDLKey := 281; 208 SDLK_F1 : constant SDLKey := 282; 209 SDLK_F2 : constant SDLKey := 283; 210 SDLK_F3 : constant SDLKey := 284; 211 SDLK_F4 : constant SDLKey := 285; 212 SDLK_F5 : constant SDLKey := 286; 213 SDLK_F6 : constant SDLKey := 287; 214 SDLK_F7 : constant SDLKey := 288; 215 SDLK_F8 : constant SDLKey := 289; 216 SDLK_F9 : constant SDLKey := 290; 217 SDLK_F10 : constant SDLKey := 291; 218 SDLK_F11 : constant SDLKey := 292; 219 SDLK_F12 : constant SDLKey := 293; 220 SDLK_F13 : constant SDLKey := 294; 221 SDLK_F14 : constant SDLKey := 295; 222 SDLK_F15 : constant SDLKey := 296; 223 SDLK_NUMLOCK : constant SDLKey := 300; 224 SDLK_CAPSLOCK : constant SDLKey := 301; 225 SDLK_SCROLLOCK : constant SDLKey := 302; 226 SDLK_RSHIFT : constant SDLKey := 303; 227 SDLK_LSHIFT : constant SDLKey := 304; 228 SDLK_RCTRL : constant SDLKey := 305; 229 SDLK_LCTRL : constant SDLKey := 306; 230 SDLK_RALT : constant SDLKey := 307; 231 SDLK_LALT : constant SDLKey := 308; 232 SDLK_RMETA : constant SDLKey := 309; 233 SDLK_LMETA : constant SDLKey := 310; 234 SDLK_LSUPER : constant SDLKey := 311; 235 SDLK_RSUPER : constant SDLKey := 312; 236 SDLK_MODE : constant SDLKey := 313; 237 SDLK_COMPOSE : constant SDLKey := 314; 238 SDLK_HELP : constant SDLKey := 315; 239 SDLK_PRINT : constant SDLKey := 316; 240 SDLK_SYSREQ : constant SDLKey := 317; 241 SDLK_BREAK : constant SDLKey := 318; 242 SDLK_MENU : constant SDLKey := 319; 243 SDLK_POWER : constant SDLKey := 320; 244 SDLK_EURO : constant SDLKey := 321; 245 SDLK_UNDO : constant SDLKey := 322; 246 SDLK_LAST : constant SDLKey := 323; -- ../include/SDL/SDL_keysym.h:302 247 248 subtype SDLMod is unsigned; 249 KMOD_NONE : constant SDLMod := 0; 250 KMOD_LSHIFT : constant SDLMod := 1; 251 KMOD_RSHIFT : constant SDLMod := 2; 252 KMOD_LCTRL : constant SDLMod := 64; 253 KMOD_RCTRL : constant SDLMod := 128; 254 KMOD_LALT : constant SDLMod := 256; 255 KMOD_RALT : constant SDLMod := 512; 256 KMOD_LMETA : constant SDLMod := 1024; 257 KMOD_RMETA : constant SDLMod := 2048; 258 KMOD_NUM : constant SDLMod := 4096; 259 KMOD_CAPS : constant SDLMod := 8192; 260 KMOD_MODE : constant SDLMod := 16384; 261 KMOD_RESERVED : constant SDLMod := 32768; -- ../include/SDL/SDL_keysym.h:319 262 263end SDL_SDL_keysym_h; 264