"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SDLK_LOOKUP = exports.SDLK = exports.SDL_SCANCODE = exports.SDL_WINDOWEVENT = exports.SDL = void 0;
const utils_1 = require("./utils");
var SDL;
(function (SDL) {
    SDL[SDL["FIRSTEVENT"] = 0] = "FIRSTEVENT";
    SDL[SDL["QUIT"] = 256] = "QUIT";
    SDL[SDL["APP_TERMINATING"] = 257] = "APP_TERMINATING";
    SDL[SDL["APP_LOWMEMORY"] = 258] = "APP_LOWMEMORY";
    SDL[SDL["APP_WILLENTERBACKGROUND"] = 259] = "APP_WILLENTERBACKGROUND";
    SDL[SDL["APP_DIDENTERBACKGROUND"] = 260] = "APP_DIDENTERBACKGROUND";
    SDL[SDL["APP_WILLENTERFOREGROUND"] = 261] = "APP_WILLENTERFOREGROUND";
    SDL[SDL["APP_DIDENTERFOREGROUND"] = 262] = "APP_DIDENTERFOREGROUND";
    SDL[SDL["WINDOWEVENT"] = 512] = "WINDOWEVENT";
    SDL[SDL["SYSWMEVENT"] = 513] = "SYSWMEVENT";
    SDL[SDL["KEYDOWN"] = 768] = "KEYDOWN";
    SDL[SDL["KEYUP"] = 769] = "KEYUP";
    SDL[SDL["TEXTEDITING"] = 770] = "TEXTEDITING";
    SDL[SDL["TEXTINPUT"] = 771] = "TEXTINPUT";
    SDL[SDL["KEYMAPCHANGED"] = 772] = "KEYMAPCHANGED";
    SDL[SDL["MOUSEMOTION"] = 1024] = "MOUSEMOTION";
    SDL[SDL["MOUSEBUTTONDOWN"] = 1025] = "MOUSEBUTTONDOWN";
    SDL[SDL["MOUSEBUTTONUP"] = 1026] = "MOUSEBUTTONUP";
    SDL[SDL["MOUSEWHEEL"] = 1027] = "MOUSEWHEEL";
    SDL[SDL["JOYAXISMOTION"] = 1536] = "JOYAXISMOTION";
    SDL[SDL["JOYBALLMOTION"] = 1537] = "JOYBALLMOTION";
    SDL[SDL["JOYHATMOTION"] = 1538] = "JOYHATMOTION";
    SDL[SDL["JOYBUTTONDOWN"] = 1539] = "JOYBUTTONDOWN";
    SDL[SDL["JOYBUTTONUP"] = 1540] = "JOYBUTTONUP";
    SDL[SDL["JOYDEVICEADDED"] = 1541] = "JOYDEVICEADDED";
    SDL[SDL["JOYDEVICEREMOVED"] = 1542] = "JOYDEVICEREMOVED";
    SDL[SDL["CONTROLLERAXISMOTION"] = 1616] = "CONTROLLERAXISMOTION";
    SDL[SDL["CONTROLLERBUTTONDOWN"] = 1617] = "CONTROLLERBUTTONDOWN";
    SDL[SDL["CONTROLLERBUTTONUP"] = 1618] = "CONTROLLERBUTTONUP";
    SDL[SDL["CONTROLLERDEVICEADDED"] = 1619] = "CONTROLLERDEVICEADDED";
    SDL[SDL["CONTROLLERDEVICEREMOVED"] = 1620] = "CONTROLLERDEVICEREMOVED";
    SDL[SDL["CONTROLLERDEVICEREMAPPED"] = 1621] = "CONTROLLERDEVICEREMAPPED";
    SDL[SDL["FINGERDOWN"] = 1792] = "FINGERDOWN";
    SDL[SDL["FINGERUP"] = 1793] = "FINGERUP";
    SDL[SDL["FINGERMOTION"] = 1794] = "FINGERMOTION";
    SDL[SDL["DOLLARGESTURE"] = 2048] = "DOLLARGESTURE";
    SDL[SDL["DOLLARRECORD"] = 2049] = "DOLLARRECORD";
    SDL[SDL["MULTIGESTURE"] = 2050] = "MULTIGESTURE";
    SDL[SDL["CLIPBOARDUPDATE"] = 2304] = "CLIPBOARDUPDATE";
    SDL[SDL["DROPFILE"] = 4096] = "DROPFILE";
    SDL[SDL["DROPTEXT"] = 4097] = "DROPTEXT";
    SDL[SDL["DROPBEGIN"] = 4098] = "DROPBEGIN";
    SDL[SDL["DROPCOMPLETE"] = 4099] = "DROPCOMPLETE";
    SDL[SDL["AUDIODEVICEADDED"] = 4352] = "AUDIODEVICEADDED";
    SDL[SDL["AUDIODEVICEREMOVED"] = 4353] = "AUDIODEVICEREMOVED";
    SDL[SDL["RENDER_TARGETS_RESET"] = 8192] = "RENDER_TARGETS_RESET";
    SDL[SDL["RENDER_DEVICE_RESET"] = 8193] = "RENDER_DEVICE_RESET";
    SDL[SDL["USEREVENT"] = 32768] = "USEREVENT";
    SDL[SDL["LASTEVENT"] = 65535] = "LASTEVENT";
})(SDL = exports.SDL || (exports.SDL = {}));
var SDL_WINDOWEVENT;
(function (SDL_WINDOWEVENT) {
    SDL_WINDOWEVENT[SDL_WINDOWEVENT["NONE"] = 0] = "NONE";
    SDL_WINDOWEVENT[SDL_WINDOWEVENT["SHOWN"] = 1] = "SHOWN";
    SDL_WINDOWEVENT[SDL_WINDOWEVENT["HIDDEN"] = 2] = "HIDDEN";
    SDL_WINDOWEVENT[SDL_WINDOWEVENT["EXPOSED"] = 3] = "EXPOSED";
    SDL_WINDOWEVENT[SDL_WINDOWEVENT["MOVED"] = 4] = "MOVED";
    SDL_WINDOWEVENT[SDL_WINDOWEVENT["RESIZED"] = 5] = "RESIZED";
    SDL_WINDOWEVENT[SDL_WINDOWEVENT["SIZE_CHANGED"] = 6] = "SIZE_CHANGED";
    SDL_WINDOWEVENT[SDL_WINDOWEVENT["MINIMIZED"] = 7] = "MINIMIZED";
    SDL_WINDOWEVENT[SDL_WINDOWEVENT["MAXIMIZED"] = 8] = "MAXIMIZED";
    SDL_WINDOWEVENT[SDL_WINDOWEVENT["RESTORED"] = 9] = "RESTORED";
    SDL_WINDOWEVENT[SDL_WINDOWEVENT["ENTER"] = 10] = "ENTER";
    SDL_WINDOWEVENT[SDL_WINDOWEVENT["LEAVE"] = 11] = "LEAVE";
    SDL_WINDOWEVENT[SDL_WINDOWEVENT["FOCUS_GAINED"] = 12] = "FOCUS_GAINED";
    SDL_WINDOWEVENT[SDL_WINDOWEVENT["FOCUS_LOST"] = 13] = "FOCUS_LOST";
    SDL_WINDOWEVENT[SDL_WINDOWEVENT["CLOSE"] = 14] = "CLOSE";
    SDL_WINDOWEVENT[SDL_WINDOWEVENT["TAKE_FOCUS"] = 15] = "TAKE_FOCUS";
    SDL_WINDOWEVENT[SDL_WINDOWEVENT["HIT_TEST"] = 16] = "HIT_TEST";
})(SDL_WINDOWEVENT = exports.SDL_WINDOWEVENT || (exports.SDL_WINDOWEVENT = {}));
var SDL_SCANCODE;
(function (SDL_SCANCODE) {
    SDL_SCANCODE[SDL_SCANCODE["UNKNOWN"] = 0] = "UNKNOWN";
    SDL_SCANCODE[SDL_SCANCODE["A"] = 4] = "A";
    SDL_SCANCODE[SDL_SCANCODE["B"] = 5] = "B";
    SDL_SCANCODE[SDL_SCANCODE["C"] = 6] = "C";
    SDL_SCANCODE[SDL_SCANCODE["D"] = 7] = "D";
    SDL_SCANCODE[SDL_SCANCODE["E"] = 8] = "E";
    SDL_SCANCODE[SDL_SCANCODE["F"] = 9] = "F";
    SDL_SCANCODE[SDL_SCANCODE["G"] = 10] = "G";
    SDL_SCANCODE[SDL_SCANCODE["H"] = 11] = "H";
    SDL_SCANCODE[SDL_SCANCODE["I"] = 12] = "I";
    SDL_SCANCODE[SDL_SCANCODE["J"] = 13] = "J";
    SDL_SCANCODE[SDL_SCANCODE["K"] = 14] = "K";
    SDL_SCANCODE[SDL_SCANCODE["L"] = 15] = "L";
    SDL_SCANCODE[SDL_SCANCODE["M"] = 16] = "M";
    SDL_SCANCODE[SDL_SCANCODE["N"] = 17] = "N";
    SDL_SCANCODE[SDL_SCANCODE["O"] = 18] = "O";
    SDL_SCANCODE[SDL_SCANCODE["P"] = 19] = "P";
    SDL_SCANCODE[SDL_SCANCODE["Q"] = 20] = "Q";
    SDL_SCANCODE[SDL_SCANCODE["R"] = 21] = "R";
    SDL_SCANCODE[SDL_SCANCODE["S"] = 22] = "S";
    SDL_SCANCODE[SDL_SCANCODE["T"] = 23] = "T";
    SDL_SCANCODE[SDL_SCANCODE["U"] = 24] = "U";
    SDL_SCANCODE[SDL_SCANCODE["V"] = 25] = "V";
    SDL_SCANCODE[SDL_SCANCODE["W"] = 26] = "W";
    SDL_SCANCODE[SDL_SCANCODE["X"] = 27] = "X";
    SDL_SCANCODE[SDL_SCANCODE["Y"] = 28] = "Y";
    SDL_SCANCODE[SDL_SCANCODE["Z"] = 29] = "Z";
    SDL_SCANCODE[SDL_SCANCODE["A_1"] = 30] = "A_1";
    SDL_SCANCODE[SDL_SCANCODE["A_2"] = 31] = "A_2";
    SDL_SCANCODE[SDL_SCANCODE["A_3"] = 32] = "A_3";
    SDL_SCANCODE[SDL_SCANCODE["A_4"] = 33] = "A_4";
    SDL_SCANCODE[SDL_SCANCODE["A_5"] = 34] = "A_5";
    SDL_SCANCODE[SDL_SCANCODE["A_6"] = 35] = "A_6";
    SDL_SCANCODE[SDL_SCANCODE["A_7"] = 36] = "A_7";
    SDL_SCANCODE[SDL_SCANCODE["A_8"] = 37] = "A_8";
    SDL_SCANCODE[SDL_SCANCODE["A_9"] = 38] = "A_9";
    SDL_SCANCODE[SDL_SCANCODE["A_0"] = 39] = "A_0";
    SDL_SCANCODE[SDL_SCANCODE["RETURN"] = 40] = "RETURN";
    SDL_SCANCODE[SDL_SCANCODE["ESCAPE"] = 41] = "ESCAPE";
    SDL_SCANCODE[SDL_SCANCODE["BACKSPACE"] = 42] = "BACKSPACE";
    SDL_SCANCODE[SDL_SCANCODE["TAB"] = 43] = "TAB";
    SDL_SCANCODE[SDL_SCANCODE["SPACE"] = 44] = "SPACE";
    SDL_SCANCODE[SDL_SCANCODE["MINUS"] = 45] = "MINUS";
    SDL_SCANCODE[SDL_SCANCODE["EQUALS"] = 46] = "EQUALS";
    SDL_SCANCODE[SDL_SCANCODE["LEFTBRACKET"] = 47] = "LEFTBRACKET";
    SDL_SCANCODE[SDL_SCANCODE["RIGHTBRACKET"] = 48] = "RIGHTBRACKET";
    SDL_SCANCODE[SDL_SCANCODE["BACKSLASH"] = 49] = "BACKSLASH";
    SDL_SCANCODE[SDL_SCANCODE["NONUSHASH"] = 50] = "NONUSHASH";
    SDL_SCANCODE[SDL_SCANCODE["SEMICOLON"] = 51] = "SEMICOLON";
    SDL_SCANCODE[SDL_SCANCODE["APOSTROPHE"] = 52] = "APOSTROPHE";
    SDL_SCANCODE[SDL_SCANCODE["GRAVE"] = 53] = "GRAVE";
    SDL_SCANCODE[SDL_SCANCODE["COMMA"] = 54] = "COMMA";
    SDL_SCANCODE[SDL_SCANCODE["PERIOD"] = 55] = "PERIOD";
    SDL_SCANCODE[SDL_SCANCODE["SLASH"] = 56] = "SLASH";
    SDL_SCANCODE[SDL_SCANCODE["CAPSLOCK"] = 57] = "CAPSLOCK";
    SDL_SCANCODE[SDL_SCANCODE["F1"] = 58] = "F1";
    SDL_SCANCODE[SDL_SCANCODE["F2"] = 59] = "F2";
    SDL_SCANCODE[SDL_SCANCODE["F3"] = 60] = "F3";
    SDL_SCANCODE[SDL_SCANCODE["F4"] = 61] = "F4";
    SDL_SCANCODE[SDL_SCANCODE["F5"] = 62] = "F5";
    SDL_SCANCODE[SDL_SCANCODE["F6"] = 63] = "F6";
    SDL_SCANCODE[SDL_SCANCODE["F7"] = 64] = "F7";
    SDL_SCANCODE[SDL_SCANCODE["F8"] = 65] = "F8";
    SDL_SCANCODE[SDL_SCANCODE["F9"] = 66] = "F9";
    SDL_SCANCODE[SDL_SCANCODE["F10"] = 67] = "F10";
    SDL_SCANCODE[SDL_SCANCODE["F11"] = 68] = "F11";
    SDL_SCANCODE[SDL_SCANCODE["F12"] = 69] = "F12";
    SDL_SCANCODE[SDL_SCANCODE["PRINTSCREEN"] = 70] = "PRINTSCREEN";
    SDL_SCANCODE[SDL_SCANCODE["SCROLLLOCK"] = 71] = "SCROLLLOCK";
    SDL_SCANCODE[SDL_SCANCODE["PAUSE"] = 72] = "PAUSE";
    SDL_SCANCODE[SDL_SCANCODE["INSERT"] = 73] = "INSERT";
    SDL_SCANCODE[SDL_SCANCODE["HOME"] = 74] = "HOME";
    SDL_SCANCODE[SDL_SCANCODE["PAGEUP"] = 75] = "PAGEUP";
    SDL_SCANCODE[SDL_SCANCODE["DELETE"] = 76] = "DELETE";
    SDL_SCANCODE[SDL_SCANCODE["END"] = 77] = "END";
    SDL_SCANCODE[SDL_SCANCODE["PAGEDOWN"] = 78] = "PAGEDOWN";
    SDL_SCANCODE[SDL_SCANCODE["RIGHT"] = 79] = "RIGHT";
    SDL_SCANCODE[SDL_SCANCODE["LEFT"] = 80] = "LEFT";
    SDL_SCANCODE[SDL_SCANCODE["DOWN"] = 81] = "DOWN";
    SDL_SCANCODE[SDL_SCANCODE["UP"] = 82] = "UP";
    SDL_SCANCODE[SDL_SCANCODE["NUMLOCKCLEAR"] = 83] = "NUMLOCKCLEAR";
    SDL_SCANCODE[SDL_SCANCODE["KP_DIVIDE"] = 84] = "KP_DIVIDE";
    SDL_SCANCODE[SDL_SCANCODE["KP_MULTIPLY"] = 85] = "KP_MULTIPLY";
    SDL_SCANCODE[SDL_SCANCODE["KP_MINUS"] = 86] = "KP_MINUS";
    SDL_SCANCODE[SDL_SCANCODE["KP_PLUS"] = 87] = "KP_PLUS";
    SDL_SCANCODE[SDL_SCANCODE["KP_ENTER"] = 88] = "KP_ENTER";
    SDL_SCANCODE[SDL_SCANCODE["KP_1"] = 89] = "KP_1";
    SDL_SCANCODE[SDL_SCANCODE["KP_2"] = 90] = "KP_2";
    SDL_SCANCODE[SDL_SCANCODE["KP_3"] = 91] = "KP_3";
    SDL_SCANCODE[SDL_SCANCODE["KP_4"] = 92] = "KP_4";
    SDL_SCANCODE[SDL_SCANCODE["KP_5"] = 93] = "KP_5";
    SDL_SCANCODE[SDL_SCANCODE["KP_6"] = 94] = "KP_6";
    SDL_SCANCODE[SDL_SCANCODE["KP_7"] = 95] = "KP_7";
    SDL_SCANCODE[SDL_SCANCODE["KP_8"] = 96] = "KP_8";
    SDL_SCANCODE[SDL_SCANCODE["KP_9"] = 97] = "KP_9";
    SDL_SCANCODE[SDL_SCANCODE["KP_0"] = 98] = "KP_0";
    SDL_SCANCODE[SDL_SCANCODE["KP_PERIOD"] = 99] = "KP_PERIOD";
    SDL_SCANCODE[SDL_SCANCODE["NONUSBACKSLASH"] = 100] = "NONUSBACKSLASH";
    SDL_SCANCODE[SDL_SCANCODE["APPLICATION"] = 101] = "APPLICATION";
    SDL_SCANCODE[SDL_SCANCODE["POWER"] = 102] = "POWER";
    SDL_SCANCODE[SDL_SCANCODE["KP_EQUALS"] = 103] = "KP_EQUALS";
    SDL_SCANCODE[SDL_SCANCODE["F13"] = 104] = "F13";
    SDL_SCANCODE[SDL_SCANCODE["F14"] = 105] = "F14";
    SDL_SCANCODE[SDL_SCANCODE["F15"] = 106] = "F15";
    SDL_SCANCODE[SDL_SCANCODE["F16"] = 107] = "F16";
    SDL_SCANCODE[SDL_SCANCODE["F17"] = 108] = "F17";
    SDL_SCANCODE[SDL_SCANCODE["F18"] = 109] = "F18";
    SDL_SCANCODE[SDL_SCANCODE["F19"] = 110] = "F19";
    SDL_SCANCODE[SDL_SCANCODE["F20"] = 111] = "F20";
    SDL_SCANCODE[SDL_SCANCODE["F21"] = 112] = "F21";
    SDL_SCANCODE[SDL_SCANCODE["F22"] = 113] = "F22";
    SDL_SCANCODE[SDL_SCANCODE["F23"] = 114] = "F23";
    SDL_SCANCODE[SDL_SCANCODE["F24"] = 115] = "F24";
    SDL_SCANCODE[SDL_SCANCODE["EXECUTE"] = 116] = "EXECUTE";
    SDL_SCANCODE[SDL_SCANCODE["HELP"] = 117] = "HELP";
    SDL_SCANCODE[SDL_SCANCODE["MENU"] = 118] = "MENU";
    SDL_SCANCODE[SDL_SCANCODE["SELECT"] = 119] = "SELECT";
    SDL_SCANCODE[SDL_SCANCODE["STOP"] = 120] = "STOP";
    SDL_SCANCODE[SDL_SCANCODE["AGAIN"] = 121] = "AGAIN";
    SDL_SCANCODE[SDL_SCANCODE["UNDO"] = 122] = "UNDO";
    SDL_SCANCODE[SDL_SCANCODE["CUT"] = 123] = "CUT";
    SDL_SCANCODE[SDL_SCANCODE["COPY"] = 124] = "COPY";
    SDL_SCANCODE[SDL_SCANCODE["PASTE"] = 125] = "PASTE";
    SDL_SCANCODE[SDL_SCANCODE["FIND"] = 126] = "FIND";
    SDL_SCANCODE[SDL_SCANCODE["MUTE"] = 127] = "MUTE";
    SDL_SCANCODE[SDL_SCANCODE["VOLUMEUP"] = 128] = "VOLUMEUP";
    SDL_SCANCODE[SDL_SCANCODE["VOLUMEDOWN"] = 129] = "VOLUMEDOWN";
    SDL_SCANCODE[SDL_SCANCODE["KP_COMMA"] = 133] = "KP_COMMA";
    SDL_SCANCODE[SDL_SCANCODE["KP_EQUALSAS400"] = 134] = "KP_EQUALSAS400";
    SDL_SCANCODE[SDL_SCANCODE["INTERNATIONAL1"] = 135] = "INTERNATIONAL1";
    SDL_SCANCODE[SDL_SCANCODE["INTERNATIONAL2"] = 136] = "INTERNATIONAL2";
    SDL_SCANCODE[SDL_SCANCODE["INTERNATIONAL3"] = 137] = "INTERNATIONAL3";
    SDL_SCANCODE[SDL_SCANCODE["INTERNATIONAL4"] = 138] = "INTERNATIONAL4";
    SDL_SCANCODE[SDL_SCANCODE["INTERNATIONAL5"] = 139] = "INTERNATIONAL5";
    SDL_SCANCODE[SDL_SCANCODE["INTERNATIONAL6"] = 140] = "INTERNATIONAL6";
    SDL_SCANCODE[SDL_SCANCODE["INTERNATIONAL7"] = 141] = "INTERNATIONAL7";
    SDL_SCANCODE[SDL_SCANCODE["INTERNATIONAL8"] = 142] = "INTERNATIONAL8";
    SDL_SCANCODE[SDL_SCANCODE["INTERNATIONAL9"] = 143] = "INTERNATIONAL9";
    SDL_SCANCODE[SDL_SCANCODE["LANG1"] = 144] = "LANG1";
    SDL_SCANCODE[SDL_SCANCODE["LANG2"] = 145] = "LANG2";
    SDL_SCANCODE[SDL_SCANCODE["LANG3"] = 146] = "LANG3";
    SDL_SCANCODE[SDL_SCANCODE["LANG4"] = 147] = "LANG4";
    SDL_SCANCODE[SDL_SCANCODE["LANG5"] = 148] = "LANG5";
    SDL_SCANCODE[SDL_SCANCODE["LANG6"] = 149] = "LANG6";
    SDL_SCANCODE[SDL_SCANCODE["LANG7"] = 150] = "LANG7";
    SDL_SCANCODE[SDL_SCANCODE["LANG8"] = 151] = "LANG8";
    SDL_SCANCODE[SDL_SCANCODE["LANG9"] = 152] = "LANG9";
    SDL_SCANCODE[SDL_SCANCODE["ALTERASE"] = 153] = "ALTERASE";
    SDL_SCANCODE[SDL_SCANCODE["SYSREQ"] = 154] = "SYSREQ";
    SDL_SCANCODE[SDL_SCANCODE["CANCEL"] = 155] = "CANCEL";
    SDL_SCANCODE[SDL_SCANCODE["CLEAR"] = 156] = "CLEAR";
    SDL_SCANCODE[SDL_SCANCODE["PRIOR"] = 157] = "PRIOR";
    SDL_SCANCODE[SDL_SCANCODE["RETURN2"] = 158] = "RETURN2";
    SDL_SCANCODE[SDL_SCANCODE["SEPARATOR"] = 159] = "SEPARATOR";
    SDL_SCANCODE[SDL_SCANCODE["OUT"] = 160] = "OUT";
    SDL_SCANCODE[SDL_SCANCODE["OPER"] = 161] = "OPER";
    SDL_SCANCODE[SDL_SCANCODE["CLEARAGAIN"] = 162] = "CLEARAGAIN";
    SDL_SCANCODE[SDL_SCANCODE["CRSEL"] = 163] = "CRSEL";
    SDL_SCANCODE[SDL_SCANCODE["EXSEL"] = 164] = "EXSEL";
    SDL_SCANCODE[SDL_SCANCODE["KP_00"] = 176] = "KP_00";
    SDL_SCANCODE[SDL_SCANCODE["KP_000"] = 177] = "KP_000";
    SDL_SCANCODE[SDL_SCANCODE["THOUSANDSSEPARATOR"] = 178] = "THOUSANDSSEPARATOR";
    SDL_SCANCODE[SDL_SCANCODE["DECIMALSEPARATOR"] = 179] = "DECIMALSEPARATOR";
    SDL_SCANCODE[SDL_SCANCODE["CURRENCYUNIT"] = 180] = "CURRENCYUNIT";
    SDL_SCANCODE[SDL_SCANCODE["CURRENCYSUBUNIT"] = 181] = "CURRENCYSUBUNIT";
    SDL_SCANCODE[SDL_SCANCODE["KP_LEFTPAREN"] = 182] = "KP_LEFTPAREN";
    SDL_SCANCODE[SDL_SCANCODE["KP_RIGHTPAREN"] = 183] = "KP_RIGHTPAREN";
    SDL_SCANCODE[SDL_SCANCODE["KP_LEFTBRACE"] = 184] = "KP_LEFTBRACE";
    SDL_SCANCODE[SDL_SCANCODE["KP_RIGHTBRACE"] = 185] = "KP_RIGHTBRACE";
    SDL_SCANCODE[SDL_SCANCODE["KP_TAB"] = 186] = "KP_TAB";
    SDL_SCANCODE[SDL_SCANCODE["KP_BACKSPACE"] = 187] = "KP_BACKSPACE";
    SDL_SCANCODE[SDL_SCANCODE["KP_A"] = 188] = "KP_A";
    SDL_SCANCODE[SDL_SCANCODE["KP_B"] = 189] = "KP_B";
    SDL_SCANCODE[SDL_SCANCODE["KP_C"] = 190] = "KP_C";
    SDL_SCANCODE[SDL_SCANCODE["KP_D"] = 191] = "KP_D";
    SDL_SCANCODE[SDL_SCANCODE["KP_E"] = 192] = "KP_E";
    SDL_SCANCODE[SDL_SCANCODE["KP_F"] = 193] = "KP_F";
    SDL_SCANCODE[SDL_SCANCODE["KP_XOR"] = 194] = "KP_XOR";
    SDL_SCANCODE[SDL_SCANCODE["KP_POWER"] = 195] = "KP_POWER";
    SDL_SCANCODE[SDL_SCANCODE["KP_PERCENT"] = 196] = "KP_PERCENT";
    SDL_SCANCODE[SDL_SCANCODE["KP_LESS"] = 197] = "KP_LESS";
    SDL_SCANCODE[SDL_SCANCODE["KP_GREATER"] = 198] = "KP_GREATER";
    SDL_SCANCODE[SDL_SCANCODE["KP_AMPERSAND"] = 199] = "KP_AMPERSAND";
    SDL_SCANCODE[SDL_SCANCODE["KP_DBLAMPERSAND"] = 200] = "KP_DBLAMPERSAND";
    SDL_SCANCODE[SDL_SCANCODE["KP_VERTICALBAR"] = 201] = "KP_VERTICALBAR";
    SDL_SCANCODE[SDL_SCANCODE["KP_DBLVERTICALBAR"] = 202] = "KP_DBLVERTICALBAR";
    SDL_SCANCODE[SDL_SCANCODE["KP_COLON"] = 203] = "KP_COLON";
    SDL_SCANCODE[SDL_SCANCODE["KP_HASH"] = 204] = "KP_HASH";
    SDL_SCANCODE[SDL_SCANCODE["KP_SPACE"] = 205] = "KP_SPACE";
    SDL_SCANCODE[SDL_SCANCODE["KP_AT"] = 206] = "KP_AT";
    SDL_SCANCODE[SDL_SCANCODE["KP_EXCLAM"] = 207] = "KP_EXCLAM";
    SDL_SCANCODE[SDL_SCANCODE["KP_MEMSTORE"] = 208] = "KP_MEMSTORE";
    SDL_SCANCODE[SDL_SCANCODE["KP_MEMRECALL"] = 209] = "KP_MEMRECALL";
    SDL_SCANCODE[SDL_SCANCODE["KP_MEMCLEAR"] = 210] = "KP_MEMCLEAR";
    SDL_SCANCODE[SDL_SCANCODE["KP_MEMADD"] = 211] = "KP_MEMADD";
    SDL_SCANCODE[SDL_SCANCODE["KP_MEMSUBTRACT"] = 212] = "KP_MEMSUBTRACT";
    SDL_SCANCODE[SDL_SCANCODE["KP_MEMMULTIPLY"] = 213] = "KP_MEMMULTIPLY";
    SDL_SCANCODE[SDL_SCANCODE["KP_MEMDIVIDE"] = 214] = "KP_MEMDIVIDE";
    SDL_SCANCODE[SDL_SCANCODE["KP_PLUSMINUS"] = 215] = "KP_PLUSMINUS";
    SDL_SCANCODE[SDL_SCANCODE["KP_CLEAR"] = 216] = "KP_CLEAR";
    SDL_SCANCODE[SDL_SCANCODE["KP_CLEARENTRY"] = 217] = "KP_CLEARENTRY";
    SDL_SCANCODE[SDL_SCANCODE["KP_BINARY"] = 218] = "KP_BINARY";
    SDL_SCANCODE[SDL_SCANCODE["KP_OCTAL"] = 219] = "KP_OCTAL";
    SDL_SCANCODE[SDL_SCANCODE["KP_DECIMAL"] = 220] = "KP_DECIMAL";
    SDL_SCANCODE[SDL_SCANCODE["KP_HEXADECIMAL"] = 221] = "KP_HEXADECIMAL";
    SDL_SCANCODE[SDL_SCANCODE["LCTRL"] = 224] = "LCTRL";
    SDL_SCANCODE[SDL_SCANCODE["LSHIFT"] = 225] = "LSHIFT";
    SDL_SCANCODE[SDL_SCANCODE["LALT"] = 226] = "LALT";
    SDL_SCANCODE[SDL_SCANCODE["LGUI"] = 227] = "LGUI";
    SDL_SCANCODE[SDL_SCANCODE["RCTRL"] = 228] = "RCTRL";
    SDL_SCANCODE[SDL_SCANCODE["RSHIFT"] = 229] = "RSHIFT";
    SDL_SCANCODE[SDL_SCANCODE["RALT"] = 230] = "RALT";
    SDL_SCANCODE[SDL_SCANCODE["RGUI"] = 231] = "RGUI";
    SDL_SCANCODE[SDL_SCANCODE["MODE"] = 257] = "MODE";
    SDL_SCANCODE[SDL_SCANCODE["AUDIONEXT"] = 258] = "AUDIONEXT";
    SDL_SCANCODE[SDL_SCANCODE["AUDIOPREV"] = 259] = "AUDIOPREV";
    SDL_SCANCODE[SDL_SCANCODE["AUDIOSTOP"] = 260] = "AUDIOSTOP";
    SDL_SCANCODE[SDL_SCANCODE["AUDIOPLAY"] = 261] = "AUDIOPLAY";
    SDL_SCANCODE[SDL_SCANCODE["AUDIOMUTE"] = 262] = "AUDIOMUTE";
    SDL_SCANCODE[SDL_SCANCODE["MEDIASELECT"] = 263] = "MEDIASELECT";
    SDL_SCANCODE[SDL_SCANCODE["WWW"] = 264] = "WWW";
    SDL_SCANCODE[SDL_SCANCODE["MAIL"] = 265] = "MAIL";
    SDL_SCANCODE[SDL_SCANCODE["CALCULATOR"] = 266] = "CALCULATOR";
    SDL_SCANCODE[SDL_SCANCODE["COMPUTER"] = 267] = "COMPUTER";
    SDL_SCANCODE[SDL_SCANCODE["AC_SEARCH"] = 268] = "AC_SEARCH";
    SDL_SCANCODE[SDL_SCANCODE["AC_HOME"] = 269] = "AC_HOME";
    SDL_SCANCODE[SDL_SCANCODE["AC_BACK"] = 270] = "AC_BACK";
    SDL_SCANCODE[SDL_SCANCODE["AC_FORWARD"] = 271] = "AC_FORWARD";
    SDL_SCANCODE[SDL_SCANCODE["AC_STOP"] = 272] = "AC_STOP";
    SDL_SCANCODE[SDL_SCANCODE["AC_REFRESH"] = 273] = "AC_REFRESH";
    SDL_SCANCODE[SDL_SCANCODE["AC_BOOKMARKS"] = 274] = "AC_BOOKMARKS";
    SDL_SCANCODE[SDL_SCANCODE["BRIGHTNESSDOWN"] = 275] = "BRIGHTNESSDOWN";
    SDL_SCANCODE[SDL_SCANCODE["BRIGHTNESSUP"] = 276] = "BRIGHTNESSUP";
    SDL_SCANCODE[SDL_SCANCODE["DISPLAYSWITCH"] = 277] = "DISPLAYSWITCH";
    SDL_SCANCODE[SDL_SCANCODE["KBDILLUMTOGGLE"] = 278] = "KBDILLUMTOGGLE";
    SDL_SCANCODE[SDL_SCANCODE["KBDILLUMDOWN"] = 279] = "KBDILLUMDOWN";
    SDL_SCANCODE[SDL_SCANCODE["KBDILLUMUP"] = 280] = "KBDILLUMUP";
    SDL_SCANCODE[SDL_SCANCODE["EJECT"] = 281] = "EJECT";
    SDL_SCANCODE[SDL_SCANCODE["SLEEP"] = 282] = "SLEEP";
    SDL_SCANCODE[SDL_SCANCODE["APP1"] = 283] = "APP1";
    SDL_SCANCODE[SDL_SCANCODE["APP2"] = 284] = "APP2";
    SDL_SCANCODE[SDL_SCANCODE["AUDIOREWIND"] = 285] = "AUDIOREWIND";
    SDL_SCANCODE[SDL_SCANCODE["AUDIOFASTFORWARD"] = 286] = "AUDIOFASTFORWARD";
    SDL_SCANCODE[SDL_SCANCODE["SDL_NUM_SCANCODES"] = 512] = "SDL_NUM_SCANCODES";
})(SDL_SCANCODE = exports.SDL_SCANCODE || (exports.SDL_SCANCODE = {}));
const SDLK_SCANCODE_MASK = 1 << 30;
const SDL_SCANCODE_TO_KEYCODE = (X) => X | SDLK_SCANCODE_MASK;
exports.SDLK = {
    UNKNOWN: 0,
    RETURN: '\r'.charCodeAt(0),
    ESCAPE: 27,
    BACKSPACE: '\b'.charCodeAt(0),
    TAB: '\t'.charCodeAt(0),
    SPACE: ' '.charCodeAt(0),
    EXCLAIM: '!'.charCodeAt(0),
    QUOTEDBL: '"'.charCodeAt(0),
    HASH: '#'.charCodeAt(0),
    PERCENT: '%'.charCodeAt(0),
    DOLLAR: '$'.charCodeAt(0),
    AMPERSAND: '&'.charCodeAt(0),
    QUOTE: "'".charCodeAt(0),
    LEFTPAREN: '('.charCodeAt(0),
    RIGHTPAREN: ')'.charCodeAt(0),
    ASTERISK: '*'.charCodeAt(0),
    PLUS: '+'.charCodeAt(0),
    COMMA: ','.charCodeAt(0),
    MINUS: '-'.charCodeAt(0),
    PERIOD: '.'.charCodeAt(0),
    SLASH: '/'.charCodeAt(0),
    A_0: '0'.charCodeAt(0),
    A_1: '1'.charCodeAt(0),
    A_2: '2'.charCodeAt(0),
    A_3: '3'.charCodeAt(0),
    A_4: '4'.charCodeAt(0),
    A_5: '5'.charCodeAt(0),
    A_6: '6'.charCodeAt(0),
    A_7: '7'.charCodeAt(0),
    A_8: '8'.charCodeAt(0),
    A_9: '9'.charCodeAt(0),
    COLON: ':'.charCodeAt(0),
    SEMICOLON: ';'.charCodeAt(0),
    LESS: '<'.charCodeAt(0),
    EQUALS: '='.charCodeAt(0),
    GREATER: '>'.charCodeAt(0),
    QUESTION: '?'.charCodeAt(0),
    AT: '@'.charCodeAt(0),
    LEFTBRACKET: '['.charCodeAt(0),
    BACKSLASH: '\\'.charCodeAt(0),
    RIGHTBRACKET: ']'.charCodeAt(0),
    CARET: '^'.charCodeAt(0),
    UNDERSCORE: '_'.charCodeAt(0),
    BACKQUOTE: '`'.charCodeAt(0),
    a: 'a'.charCodeAt(0),
    b: 'b'.charCodeAt(0),
    c: 'c'.charCodeAt(0),
    d: 'd'.charCodeAt(0),
    e: 'e'.charCodeAt(0),
    f: 'f'.charCodeAt(0),
    g: 'g'.charCodeAt(0),
    h: 'h'.charCodeAt(0),
    i: 'i'.charCodeAt(0),
    j: 'j'.charCodeAt(0),
    k: 'k'.charCodeAt(0),
    l: 'l'.charCodeAt(0),
    m: 'm'.charCodeAt(0),
    n: 'n'.charCodeAt(0),
    o: 'o'.charCodeAt(0),
    p: 'p'.charCodeAt(0),
    q: 'q'.charCodeAt(0),
    r: 'r'.charCodeAt(0),
    s: 's'.charCodeAt(0),
    t: 't'.charCodeAt(0),
    u: 'u'.charCodeAt(0),
    v: 'v'.charCodeAt(0),
    w: 'w'.charCodeAt(0),
    x: 'x'.charCodeAt(0),
    y: 'y'.charCodeAt(0),
    z: 'z'.charCodeAt(0),
    CAPSLOCK: SDL_SCANCODE_TO_KEYCODE(57),
    F1: SDL_SCANCODE_TO_KEYCODE(58),
    F2: SDL_SCANCODE_TO_KEYCODE(59),
    F3: SDL_SCANCODE_TO_KEYCODE(60),
    F4: SDL_SCANCODE_TO_KEYCODE(61),
    F5: SDL_SCANCODE_TO_KEYCODE(62),
    F6: SDL_SCANCODE_TO_KEYCODE(63),
    F7: SDL_SCANCODE_TO_KEYCODE(64),
    F8: SDL_SCANCODE_TO_KEYCODE(65),
    F9: SDL_SCANCODE_TO_KEYCODE(66),
    F10: SDL_SCANCODE_TO_KEYCODE(67),
    F11: SDL_SCANCODE_TO_KEYCODE(68),
    F12: SDL_SCANCODE_TO_KEYCODE(69),
    PRINTSCREEN: SDL_SCANCODE_TO_KEYCODE(70),
    SCROLLLOCK: SDL_SCANCODE_TO_KEYCODE(71),
    PAUSE: SDL_SCANCODE_TO_KEYCODE(72),
    INSERT: SDL_SCANCODE_TO_KEYCODE(73),
    HOME: SDL_SCANCODE_TO_KEYCODE(74),
    PAGEUP: SDL_SCANCODE_TO_KEYCODE(75),
    DELETE: 127,
    END: SDL_SCANCODE_TO_KEYCODE(77),
    PAGEDOWN: SDL_SCANCODE_TO_KEYCODE(78),
    RIGHT: SDL_SCANCODE_TO_KEYCODE(79),
    LEFT: SDL_SCANCODE_TO_KEYCODE(80),
    DOWN: SDL_SCANCODE_TO_KEYCODE(81),
    UP: SDL_SCANCODE_TO_KEYCODE(82),
    NUMLOCKCLEAR: SDL_SCANCODE_TO_KEYCODE(83),
    KP_DIVIDE: SDL_SCANCODE_TO_KEYCODE(84),
    KP_MULTIPLY: SDL_SCANCODE_TO_KEYCODE(85),
    KP_MINUS: SDL_SCANCODE_TO_KEYCODE(86),
    KP_PLUS: SDL_SCANCODE_TO_KEYCODE(87),
    KP_ENTER: SDL_SCANCODE_TO_KEYCODE(88),
    KP_1: SDL_SCANCODE_TO_KEYCODE(89),
    KP_2: SDL_SCANCODE_TO_KEYCODE(90),
    KP_3: SDL_SCANCODE_TO_KEYCODE(91),
    KP_4: SDL_SCANCODE_TO_KEYCODE(92),
    KP_5: SDL_SCANCODE_TO_KEYCODE(93),
    KP_6: SDL_SCANCODE_TO_KEYCODE(94),
    KP_7: SDL_SCANCODE_TO_KEYCODE(95),
    KP_8: SDL_SCANCODE_TO_KEYCODE(96),
    KP_9: SDL_SCANCODE_TO_KEYCODE(97),
    KP_0: SDL_SCANCODE_TO_KEYCODE(98),
    KP_PERIOD: SDL_SCANCODE_TO_KEYCODE(99),
    APPLICATION: SDL_SCANCODE_TO_KEYCODE(101),
    POWER: SDL_SCANCODE_TO_KEYCODE(102),
    KP_EQUALS: SDL_SCANCODE_TO_KEYCODE(103),
    F13: SDL_SCANCODE_TO_KEYCODE(104),
    F14: SDL_SCANCODE_TO_KEYCODE(105),
    F15: SDL_SCANCODE_TO_KEYCODE(106),
    F16: SDL_SCANCODE_TO_KEYCODE(107),
    F17: SDL_SCANCODE_TO_KEYCODE(108),
    F18: SDL_SCANCODE_TO_KEYCODE(109),
    F19: SDL_SCANCODE_TO_KEYCODE(110),
    F20: SDL_SCANCODE_TO_KEYCODE(111),
    F21: SDL_SCANCODE_TO_KEYCODE(112),
    F22: SDL_SCANCODE_TO_KEYCODE(113),
    F23: SDL_SCANCODE_TO_KEYCODE(114),
    F24: SDL_SCANCODE_TO_KEYCODE(115),
    EXECUTE: SDL_SCANCODE_TO_KEYCODE(116),
    HELP: SDL_SCANCODE_TO_KEYCODE(117),
    MENU: SDL_SCANCODE_TO_KEYCODE(118),
    SELECT: SDL_SCANCODE_TO_KEYCODE(119),
    STOP: SDL_SCANCODE_TO_KEYCODE(120),
    AGAIN: SDL_SCANCODE_TO_KEYCODE(121),
    UNDO: SDL_SCANCODE_TO_KEYCODE(122),
    CUT: SDL_SCANCODE_TO_KEYCODE(123),
    COPY: SDL_SCANCODE_TO_KEYCODE(124),
    PASTE: SDL_SCANCODE_TO_KEYCODE(125),
    FIND: SDL_SCANCODE_TO_KEYCODE(126),
    MUTE: SDL_SCANCODE_TO_KEYCODE(127),
    VOLUMEUP: SDL_SCANCODE_TO_KEYCODE(128),
    VOLUMEDOWN: SDL_SCANCODE_TO_KEYCODE(129),
    KP_COMMA: SDL_SCANCODE_TO_KEYCODE(133),
    KP_EQUALSAS400: SDL_SCANCODE_TO_KEYCODE(134),
    ALTERASE: SDL_SCANCODE_TO_KEYCODE(153),
    SYSREQ: SDL_SCANCODE_TO_KEYCODE(154),
    CANCEL: SDL_SCANCODE_TO_KEYCODE(155),
    CLEAR: SDL_SCANCODE_TO_KEYCODE(156),
    PRIOR: SDL_SCANCODE_TO_KEYCODE(157),
    RETURN2: SDL_SCANCODE_TO_KEYCODE(158),
    SEPARATOR: SDL_SCANCODE_TO_KEYCODE(159),
    OUT: SDL_SCANCODE_TO_KEYCODE(160),
    OPER: SDL_SCANCODE_TO_KEYCODE(161),
    CLEARAGAIN: SDL_SCANCODE_TO_KEYCODE(162),
    CRSEL: SDL_SCANCODE_TO_KEYCODE(163),
    EXSEL: SDL_SCANCODE_TO_KEYCODE(164),
    KP_00: SDL_SCANCODE_TO_KEYCODE(176),
    KP_000: SDL_SCANCODE_TO_KEYCODE(177),
    THOUSANDSSEPARATOR: SDL_SCANCODE_TO_KEYCODE(178),
    DECIMALSEPARATOR: SDL_SCANCODE_TO_KEYCODE(179),
    CURRENCYUNIT: SDL_SCANCODE_TO_KEYCODE(180),
    CURRENCYSUBUNIT: SDL_SCANCODE_TO_KEYCODE(181),
    KP_LEFTPAREN: SDL_SCANCODE_TO_KEYCODE(182),
    KP_RIGHTPAREN: SDL_SCANCODE_TO_KEYCODE(183),
    KP_LEFTBRACE: SDL_SCANCODE_TO_KEYCODE(184),
    KP_RIGHTBRACE: SDL_SCANCODE_TO_KEYCODE(185),
    KP_TAB: SDL_SCANCODE_TO_KEYCODE(186),
    KP_BACKSPACE: SDL_SCANCODE_TO_KEYCODE(187),
    KP_A: SDL_SCANCODE_TO_KEYCODE(188),
    KP_B: SDL_SCANCODE_TO_KEYCODE(189),
    KP_C: SDL_SCANCODE_TO_KEYCODE(190),
    KP_D: SDL_SCANCODE_TO_KEYCODE(191),
    KP_E: SDL_SCANCODE_TO_KEYCODE(192),
    KP_F: SDL_SCANCODE_TO_KEYCODE(193),
    KP_XOR: SDL_SCANCODE_TO_KEYCODE(194),
    KP_POWER: SDL_SCANCODE_TO_KEYCODE(195),
    KP_PERCENT: SDL_SCANCODE_TO_KEYCODE(196),
    KP_LESS: SDL_SCANCODE_TO_KEYCODE(197),
    KP_GREATER: SDL_SCANCODE_TO_KEYCODE(198),
    KP_AMPERSAND: SDL_SCANCODE_TO_KEYCODE(199),
    KP_DBLAMPERSAND: SDL_SCANCODE_TO_KEYCODE(200),
    KP_VERTICALBAR: SDL_SCANCODE_TO_KEYCODE(201),
    KP_DBLVERTICALBAR: SDL_SCANCODE_TO_KEYCODE(202),
    KP_COLON: SDL_SCANCODE_TO_KEYCODE(203),
    KP_HASH: SDL_SCANCODE_TO_KEYCODE(204),
    KP_SPACE: SDL_SCANCODE_TO_KEYCODE(205),
    KP_AT: SDL_SCANCODE_TO_KEYCODE(206),
    KP_EXCLAM: SDL_SCANCODE_TO_KEYCODE(207),
    KP_MEMSTORE: SDL_SCANCODE_TO_KEYCODE(208),
    KP_MEMRECALL: SDL_SCANCODE_TO_KEYCODE(209),
    KP_MEMCLEAR: SDL_SCANCODE_TO_KEYCODE(210),
    KP_MEMADD: SDL_SCANCODE_TO_KEYCODE(211),
    KP_MEMSUBTRACT: SDL_SCANCODE_TO_KEYCODE(212),
    KP_MEMMULTIPLY: SDL_SCANCODE_TO_KEYCODE(213),
    KP_MEMDIVIDE: SDL_SCANCODE_TO_KEYCODE(214),
    KP_PLUSMINUS: SDL_SCANCODE_TO_KEYCODE(215),
    KP_CLEAR: SDL_SCANCODE_TO_KEYCODE(216),
    KP_CLEARENTRY: SDL_SCANCODE_TO_KEYCODE(217),
    KP_BINARY: SDL_SCANCODE_TO_KEYCODE(218),
    KP_OCTAL: SDL_SCANCODE_TO_KEYCODE(219),
    KP_DECIMAL: SDL_SCANCODE_TO_KEYCODE(220),
    KP_HEXADECIMAL: SDL_SCANCODE_TO_KEYCODE(221),
    LCTRL: SDL_SCANCODE_TO_KEYCODE(224),
    LSHIFT: SDL_SCANCODE_TO_KEYCODE(225),
    LALT: SDL_SCANCODE_TO_KEYCODE(226),
    LGUI: SDL_SCANCODE_TO_KEYCODE(227),
    RCTRL: SDL_SCANCODE_TO_KEYCODE(228),
    RSHIFT: SDL_SCANCODE_TO_KEYCODE(229),
    RALT: SDL_SCANCODE_TO_KEYCODE(230),
    RGUI: SDL_SCANCODE_TO_KEYCODE(231),
    MODE: SDL_SCANCODE_TO_KEYCODE(257),
    AUDIONEXT: SDL_SCANCODE_TO_KEYCODE(258),
    AUDIOPREV: SDL_SCANCODE_TO_KEYCODE(259),
    AUDIOSTOP: SDL_SCANCODE_TO_KEYCODE(260),
    AUDIOPLAY: SDL_SCANCODE_TO_KEYCODE(261),
    AUDIOMUTE: SDL_SCANCODE_TO_KEYCODE(262),
    MEDIASELECT: SDL_SCANCODE_TO_KEYCODE(263),
    WWW: SDL_SCANCODE_TO_KEYCODE(264),
    MAIL: SDL_SCANCODE_TO_KEYCODE(265),
    CALCULATOR: SDL_SCANCODE_TO_KEYCODE(266),
    COMPUTER: SDL_SCANCODE_TO_KEYCODE(267),
    AC_SEARCH: SDL_SCANCODE_TO_KEYCODE(268),
    AC_HOME: SDL_SCANCODE_TO_KEYCODE(269),
    AC_BACK: SDL_SCANCODE_TO_KEYCODE(270),
    AC_FORWARD: SDL_SCANCODE_TO_KEYCODE(271),
    AC_STOP: SDL_SCANCODE_TO_KEYCODE(272),
    AC_REFRESH: SDL_SCANCODE_TO_KEYCODE(273),
    AC_BOOKMARKS: SDL_SCANCODE_TO_KEYCODE(274),
    BRIGHTNESSDOWN: SDL_SCANCODE_TO_KEYCODE(275),
    BRIGHTNESSUP: SDL_SCANCODE_TO_KEYCODE(276),
    DISPLAYSWITCH: SDL_SCANCODE_TO_KEYCODE(277),
    KBDILLUMTOGGLE: SDL_SCANCODE_TO_KEYCODE(278),
    KBDILLUMDOWN: SDL_SCANCODE_TO_KEYCODE(279),
    KBDILLUMUP: SDL_SCANCODE_TO_KEYCODE(280),
    EJECT: SDL_SCANCODE_TO_KEYCODE(281),
    SLEEP: SDL_SCANCODE_TO_KEYCODE(282),
    APP1: SDL_SCANCODE_TO_KEYCODE(283),
    APP2: SDL_SCANCODE_TO_KEYCODE(284),
    AUDIOREWIND: SDL_SCANCODE_TO_KEYCODE(285),
    AUDIOFASTFORWARD: SDL_SCANCODE_TO_KEYCODE(286),
};
exports.SDLK_LOOKUP = {};
for (const k in exports.SDLK) {
    let val = 0;
    if (!utils_1.objHas(exports.SDLK, k)) {
        continue;
    }
    val = exports.SDLK[k];
    if (utils_1.objHas(exports.SDLK_LOOKUP, val)) {
        console.log('repeat key: ', val, k, 'staying', exports.SDLK_LOOKUP[val]);
        continue;
    }
    exports.SDLK_LOOKUP[val] = k;
}
//# sourceMappingURL=cenums.js.map