|
@@ -266,6 +266,7 @@ static const int QUAL_CTRL = 2;
|
|
|
static const int QUAL_ALT = 4;
|
|
static const int QUAL_ALT = 4;
|
|
|
static const int QUAL_ANY = 8;
|
|
static const int QUAL_ANY = 8;
|
|
|
|
|
|
|
|
|
|
+static const int KEY_UNKNOWN = SDLK_UNKNOWN;
|
|
|
static const int KEY_A = SDLK_a;
|
|
static const int KEY_A = SDLK_a;
|
|
|
static const int KEY_B = SDLK_b;
|
|
static const int KEY_B = SDLK_b;
|
|
|
static const int KEY_C = SDLK_c;
|
|
static const int KEY_C = SDLK_c;
|
|
@@ -378,6 +379,136 @@ static const int KEY_RCTRL = SDLK_RCTRL;
|
|
|
static const int KEY_LALT = SDLK_LALT;
|
|
static const int KEY_LALT = SDLK_LALT;
|
|
|
static const int KEY_RALT = SDLK_RALT;
|
|
static const int KEY_RALT = SDLK_RALT;
|
|
|
|
|
|
|
|
|
|
+// ATOMIC BEGIN
|
|
|
|
|
+static const int KEY_AC_BACK = SDLK_AC_BACK;
|
|
|
|
|
+static const int KEY_AC_BOOKMARKS = SDLK_AC_BOOKMARKS;
|
|
|
|
|
+static const int KEY_AC_FORWARD = SDLK_AC_FORWARD;
|
|
|
|
|
+static const int KEY_AC_HOME = SDLK_AC_HOME;
|
|
|
|
|
+static const int KEY_AC_REFRESH = SDLK_AC_REFRESH;
|
|
|
|
|
+static const int KEY_AC_SEARCH = SDLK_AC_SEARCH;
|
|
|
|
|
+static const int KEY_AC_STOP = SDLK_AC_STOP;
|
|
|
|
|
+static const int KEY_AGAIN = SDLK_AGAIN;
|
|
|
|
|
+static const int KEY_ALTERASE = SDLK_ALTERASE;
|
|
|
|
|
+static const int KEY_AMPERSAND = SDLK_AMPERSAND;
|
|
|
|
|
+static const int KEY_ASTERISK = SDLK_ASTERISK;
|
|
|
|
|
+static const int KEY_AT = SDLK_AT;
|
|
|
|
|
+static const int KEY_AUDIOMUTE = SDLK_AUDIOMUTE;
|
|
|
|
|
+static const int KEY_AUDIONEXT = SDLK_AUDIONEXT;
|
|
|
|
|
+static const int KEY_AUDIOPLAY = SDLK_AUDIOPLAY;
|
|
|
|
|
+static const int KEY_AUDIOPREV = SDLK_AUDIOPREV;
|
|
|
|
|
+static const int KEY_AUDIOSTOP = SDLK_AUDIOSTOP;
|
|
|
|
|
+static const int KEY_BACKQUOTE = SDLK_BACKQUOTE;
|
|
|
|
|
+static const int KEY_BACKSLASH = SDLK_BACKSLASH;
|
|
|
|
|
+static const int KEY_BRIGHTNESSDOWN = SDLK_BRIGHTNESSDOWN;
|
|
|
|
|
+static const int KEY_BRIGHTNESSUP = SDLK_BRIGHTNESSUP;
|
|
|
|
|
+static const int KEY_CALCULATOR = SDLK_CALCULATOR;
|
|
|
|
|
+static const int KEY_CANCEL = SDLK_CANCEL;
|
|
|
|
|
+static const int KEY_CARET = SDLK_CARET;
|
|
|
|
|
+static const int KEY_CLEAR = SDLK_CLEAR;
|
|
|
|
|
+static const int KEY_CLEARAGAIN = SDLK_CLEARAGAIN;
|
|
|
|
|
+static const int KEY_COLON = SDLK_COLON;
|
|
|
|
|
+static const int KEY_COMMA = SDLK_COMMA;
|
|
|
|
|
+static const int KEY_COMPUTER = SDLK_COMPUTER;
|
|
|
|
|
+static const int KEY_COPY = SDLK_COPY;
|
|
|
|
|
+static const int KEY_CRSEL = SDLK_CRSEL;
|
|
|
|
|
+static const int KEY_CURRENCYSUBUNIT = SDLK_CURRENCYSUBUNIT;
|
|
|
|
|
+static const int KEY_CURRENCYUNIT = SDLK_CURRENCYUNIT;
|
|
|
|
|
+static const int KEY_CUT = SDLK_CUT;
|
|
|
|
|
+static const int KEY_DECIMALSEPARATOR = SDLK_DECIMALSEPARATOR;
|
|
|
|
|
+static const int KEY_DISPLAYSWITCH = SDLK_DISPLAYSWITCH;
|
|
|
|
|
+static const int KEY_DOLLAR = SDLK_DOLLAR;
|
|
|
|
|
+static const int KEY_EJECT = SDLK_EJECT;
|
|
|
|
|
+static const int KEY_EQUALS = SDLK_EQUALS;
|
|
|
|
|
+static const int KEY_EXCLAIM = SDLK_EXCLAIM;
|
|
|
|
|
+static const int KEY_EXSEL = SDLK_EXSEL;
|
|
|
|
|
+static const int KEY_FIND = SDLK_FIND;
|
|
|
|
|
+static const int KEY_GREATER = SDLK_GREATER;
|
|
|
|
|
+static const int KEY_HASH = SDLK_HASH;
|
|
|
|
|
+static const int KEY_HELP = SDLK_HELP;
|
|
|
|
|
+static const int KEY_KBDILLUMDOWN = SDLK_KBDILLUMDOWN;
|
|
|
|
|
+static const int KEY_KBDILLUMTOGGLE = SDLK_KBDILLUMTOGGLE;
|
|
|
|
|
+static const int KEY_KBDILLUMUP = SDLK_KBDILLUMUP;
|
|
|
|
|
+static const int KEY_KP_00 = SDLK_KP_00;
|
|
|
|
|
+static const int KEY_KP_000 = SDLK_KP_000;
|
|
|
|
|
+static const int KEY_KP_A = SDLK_KP_A;
|
|
|
|
|
+static const int KEY_KP_AMPERSAND = SDLK_KP_AMPERSAND;
|
|
|
|
|
+static const int KEY_KP_AT = SDLK_KP_AT;
|
|
|
|
|
+static const int KEY_KP_B = SDLK_KP_B;
|
|
|
|
|
+static const int KEY_KP_BACKSPACE = SDLK_KP_BACKSPACE;
|
|
|
|
|
+static const int KEY_KP_BINARY = SDLK_KP_BINARY;
|
|
|
|
|
+static const int KEY_KP_C = SDLK_KP_C;
|
|
|
|
|
+static const int KEY_KP_CLEAR = SDLK_KP_CLEAR;
|
|
|
|
|
+static const int KEY_KP_CLEARENTRY = SDLK_KP_CLEARENTRY;
|
|
|
|
|
+static const int KEY_KP_COLON = SDLK_KP_COLON;
|
|
|
|
|
+static const int KEY_KP_COMMA = SDLK_KP_COMMA;
|
|
|
|
|
+static const int KEY_KP_D = SDLK_KP_D;
|
|
|
|
|
+static const int KEY_KP_DBLAMPERSAND = SDLK_KP_DBLAMPERSAND;
|
|
|
|
|
+static const int KEY_KP_DBLVERTICALBAR = SDLK_KP_DBLVERTICALBAR;
|
|
|
|
|
+static const int KEY_KP_DECIMAL = SDLK_KP_DECIMAL;
|
|
|
|
|
+static const int KEY_KP_E = SDLK_KP_E;
|
|
|
|
|
+static const int KEY_KP_EQUALS = SDLK_KP_EQUALS;
|
|
|
|
|
+static const int KEY_KP_EQUALSAS400 = SDLK_KP_EQUALSAS400;
|
|
|
|
|
+static const int KEY_KP_EXCLAM = SDLK_KP_EXCLAM;
|
|
|
|
|
+static const int KEY_KP_F = SDLK_KP_F;
|
|
|
|
|
+static const int KEY_KP_GREATER = SDLK_KP_GREATER;
|
|
|
|
|
+static const int KEY_KP_HASH = SDLK_KP_HASH;
|
|
|
|
|
+static const int KEY_KP_HEXADECIMAL = SDLK_KP_HEXADECIMAL;
|
|
|
|
|
+static const int KEY_KP_LEFTBRACE = SDLK_KP_LEFTBRACE;
|
|
|
|
|
+static const int KEY_KP_LEFTPAREN = SDLK_KP_LEFTPAREN;
|
|
|
|
|
+static const int KEY_KP_LESS = SDLK_KP_LESS;
|
|
|
|
|
+static const int KEY_KP_MEMADD = SDLK_KP_MEMADD;
|
|
|
|
|
+static const int KEY_KP_MEMCLEAR = SDLK_KP_MEMCLEAR;
|
|
|
|
|
+static const int KEY_KP_MEMDIVIDE = SDLK_KP_MEMDIVIDE;
|
|
|
|
|
+static const int KEY_KP_MEMMULTIPLY = SDLK_KP_MEMMULTIPLY;
|
|
|
|
|
+static const int KEY_KP_MEMRECALL = SDLK_KP_MEMRECALL;
|
|
|
|
|
+static const int KEY_KP_MEMSTORE = SDLK_KP_MEMSTORE;
|
|
|
|
|
+static const int KEY_KP_MEMSUBTRACT = SDLK_KP_MEMSUBTRACT;
|
|
|
|
|
+static const int KEY_KP_OCTAL = SDLK_KP_OCTAL;
|
|
|
|
|
+static const int KEY_KP_PERCENT = SDLK_KP_PERCENT;
|
|
|
|
|
+static const int KEY_KP_PLUSMINUS = SDLK_KP_PLUSMINUS;
|
|
|
|
|
+static const int KEY_KP_POWER = SDLK_KP_POWER;
|
|
|
|
|
+static const int KEY_KP_RIGHTBRACE = SDLK_KP_RIGHTBRACE;
|
|
|
|
|
+static const int KEY_KP_RIGHTPAREN = SDLK_KP_RIGHTPAREN;
|
|
|
|
|
+static const int KEY_KP_SPACE = SDLK_KP_SPACE;
|
|
|
|
|
+static const int KEY_KP_TAB = SDLK_KP_TAB;
|
|
|
|
|
+static const int KEY_KP_VERTICALBAR = SDLK_KP_VERTICALBAR;
|
|
|
|
|
+static const int KEY_KP_XOR = SDLK_KP_XOR;
|
|
|
|
|
+static const int KEY_LEFTBRACKET = SDLK_LEFTBRACKET;
|
|
|
|
|
+static const int KEY_LEFTPAREN = SDLK_LEFTPAREN;
|
|
|
|
|
+static const int KEY_LESS = SDLK_LESS;
|
|
|
|
|
+static const int KEY_MAIL = SDLK_MAIL;
|
|
|
|
|
+static const int KEY_MEDIASELECT = SDLK_MEDIASELECT;
|
|
|
|
|
+static const int KEY_MENU = SDLK_MENU;
|
|
|
|
|
+static const int KEY_MINUS = SDLK_MINUS;
|
|
|
|
|
+static const int KEY_MODE = SDLK_MODE;
|
|
|
|
|
+static const int KEY_MUTE = SDLK_MUTE;
|
|
|
|
|
+static const int KEY_OPER = SDLK_OPER;
|
|
|
|
|
+static const int KEY_OUT = SDLK_OUT;
|
|
|
|
|
+static const int KEY_PASTE = SDLK_PASTE;
|
|
|
|
|
+static const int KEY_PERCENT = SDLK_PERCENT;
|
|
|
|
|
+static const int KEY_PERIOD = SDLK_PERIOD;
|
|
|
|
|
+static const int KEY_PLUS = SDLK_PLUS;
|
|
|
|
|
+static const int KEY_POWER = SDLK_POWER;
|
|
|
|
|
+static const int KEY_PRIOR = SDLK_PRIOR;
|
|
|
|
|
+static const int KEY_QUESTION = SDLK_QUESTION;
|
|
|
|
|
+static const int KEY_QUOTE = SDLK_QUOTE;
|
|
|
|
|
+static const int KEY_QUOTEDBL = SDLK_QUOTEDBL;
|
|
|
|
|
+static const int KEY_RIGHTBRACKET = SDLK_RIGHTBRACKET;
|
|
|
|
|
+static const int KEY_RIGHTPAREN = SDLK_RIGHTPAREN;
|
|
|
|
|
+static const int KEY_SEMICOLON = SDLK_SEMICOLON;
|
|
|
|
|
+static const int KEY_SEPARATOR = SDLK_SEPARATOR;
|
|
|
|
|
+static const int KEY_SLASH = SDLK_SLASH;
|
|
|
|
|
+static const int KEY_SLEEP = SDLK_SLEEP;
|
|
|
|
|
+static const int KEY_STOP = SDLK_STOP;
|
|
|
|
|
+static const int KEY_SYSREQ = SDLK_SYSREQ;
|
|
|
|
|
+static const int KEY_THOUSANDSSEPARATOR = SDLK_THOUSANDSSEPARATOR;
|
|
|
|
|
+static const int KEY_UNDERSCORE = SDLK_UNDERSCORE;
|
|
|
|
|
+static const int KEY_UNDO = SDLK_UNDO;
|
|
|
|
|
+static const int KEY_VOLUMEDOWN = SDLK_VOLUMEDOWN;
|
|
|
|
|
+static const int KEY_VOLUMEUP = SDLK_VOLUMEUP;
|
|
|
|
|
+static const int KEY_WWW = SDLK_WWW;
|
|
|
|
|
+// ATOMIC END
|
|
|
|
|
+
|
|
|
static const int SCANCODE_UNKNOWN = SDL_SCANCODE_UNKNOWN;
|
|
static const int SCANCODE_UNKNOWN = SDL_SCANCODE_UNKNOWN;
|
|
|
static const int SCANCODE_CTRL = SDL_SCANCODE_LCTRL;
|
|
static const int SCANCODE_CTRL = SDL_SCANCODE_LCTRL;
|
|
|
static const int SCANCODE_SHIFT = SDL_SCANCODE_LSHIFT;
|
|
static const int SCANCODE_SHIFT = SDL_SCANCODE_LSHIFT;
|