enum | KeyName {
KEY_NONE = 0,
KEY_BACKSPACE = 8,
KEY_TAB = 9,
KEY_ENTER = 10,
KEY_ESCAPE = 27,
KEY_SPACE = 32,
KEY_EXCLAMATION = 33,
KEY_DOUBLE_QUOTE = 34,
KEY_HASH = 35,
KEY_DOLLAR_SIGN = 36,
KEY_PERCENT = 37,
KEY_AMPERSAND = 38,
KEY_SINGLE_QUOTE = 39,
KEY_LEFT_PAREN = 40,
KEY_RIGHT_PAREN = 41,
KEY_ASTERISK = 42,
KEY_PLUS = 43,
KEY_COMMA = 44,
KEY_MINUS = 45,
KEY_PERIOD = 46,
KEY_SLASH = 47,
KEY_0 = 48,
KEY_1,
KEY_2,
KEY_3,
KEY_4,
KEY_5,
KEY_6,
KEY_7,
KEY_8,
KEY_9,
KEY_COLON = 58,
KEY_SEMICOLON = 59,
KEY_LESS_THAN = 60,
KEY_EQUALS = 61,
KEY_GREATER_THAN = 62,
KEY_QUESTION_MARK = 63,
KEY_AT = 64,
KEY_LEFT_BRACKET = 91,
KEY_BACKSLASH = 92,
KEY_RIGHT_BRACKET = 93,
KEY_CARET = 94,
KEY_UNDERSCORE = 95,
KEY_BACKTICK = 96,
KEY_A = 97,
KEY_B,
KEY_C,
KEY_D,
KEY_E,
KEY_F,
KEY_G,
KEY_H,
KEY_I,
KEY_J,
KEY_K,
KEY_L,
KEY_M,
KEY_N,
KEY_O,
KEY_P,
KEY_Q,
KEY_R,
KEY_S,
KEY_T,
KEY_U,
KEY_V,
KEY_W,
KEY_X,
KEY_Y,
KEY_Z,
KEY_LEFT_BRACE = 123,
KEY_PIPE = 124,
KEY_RIGHT_BRACE = 125,
KEY_TILDE = 126,
KEY_DELETE = 127,
KEY_LSHIFT = 256,
KEY_RSHIFT,
KEY_LCTRL,
KEY_RCTRL,
KEY_ALT,
KEY_META,
KEY_CAPSLOCK,
KEY_LEFT,
KEY_RIGHT,
KEY_UP,
KEY_DOWN,
KEY_INSERT,
KEY_HOME,
KEY_END,
KEY_PAGEUP,
KEY_PAGEDOWN,
KEY_UNKNOWN = 1000
} |