ts-game-engine
Version:
Simple WebGL game/render engine written in TypeScript
109 lines (108 loc) • 4.38 kB
TypeScript
export declare class Keys {
static readonly MOUSE_BUTTON_COUNT: number;
static readonly MOUSE_BUTTON_MAIN: number;
static readonly MOUSE_BUTTON_MIDDLE: number;
static readonly MOUSE_BUTTON_SECONDARY: number;
static readonly COUNT: number;
static readonly KEY_ESCAPE: string;
static readonly KEY_F1: string;
static readonly KEY_F2: string;
static readonly KEY_F3: string;
static readonly KEY_F4: string;
static readonly KEY_F5: string;
static readonly KEY_F6: string;
static readonly KEY_F7: string;
static readonly KEY_F8: string;
static readonly KEY_F9: string;
static readonly KEY_F10: string;
static readonly KEY_F11: string;
static readonly KEY_F12: string;
static readonly KEY_DIGIT_0: string;
static readonly KEY_DIGIT_1: string;
static readonly KEY_DIGIT_2: string;
static readonly KEY_DIGIT_3: string;
static readonly KEY_DIGIT_4: string;
static readonly KEY_DIGIT_5: string;
static readonly KEY_DIGIT_6: string;
static readonly KEY_DIGIT_7: string;
static readonly KEY_DIGIT_8: string;
static readonly KEY_DIGIT_9: string;
static readonly KEY_Q: string;
static readonly KEY_W: string;
static readonly KEY_E: string;
static readonly KEY_R: string;
static readonly KEY_T: string;
static readonly KEY_Y: string;
static readonly KEY_U: string;
static readonly KEY_I: string;
static readonly KEY_O: string;
static readonly KEY_P: string;
static readonly KEY_A: string;
static readonly KEY_S: string;
static readonly KEY_D: string;
static readonly KEY_F: string;
static readonly KEY_G: string;
static readonly KEY_H: string;
static readonly KEY_J: string;
static readonly KEY_K: string;
static readonly KEY_L: string;
static readonly KEY_Z: string;
static readonly KEY_X: string;
static readonly KEY_C: string;
static readonly KEY_V: string;
static readonly KEY_B: string;
static readonly KEY_N: string;
static readonly KEY_M: string;
static readonly KEY_MINUS: string;
static readonly KEY_EQUAL: string;
static readonly KEY_BACKSPACE: string;
static readonly KEY_TAB: string;
static readonly KEY_BRACKET_LEFT: string;
static readonly KEY_BRACKET_RIGHT: string;
static readonly KEY_ENTER: string;
static readonly KEY_CONTROL_LEFT: string;
static readonly KEY_CONTROL_RIGHT: string;
static readonly KEY_SEMICOLON: string;
static readonly KEY_QUOTE: string;
static readonly KEY_BACK_QUOTE: string;
static readonly KEY_SHIFT_LEFT: string;
static readonly KEY_SHIFT_RIGHT: string;
static readonly KEY_BACK_SLASH: string;
static readonly KEY_COMMA: string;
static readonly KEY_PERIOD: string;
static readonly KEY_SLASH: string;
static readonly KEY_ALT_LEFT: string;
static readonly KEY_ALT_RIGHT: string;
static readonly KEY_SPACE: string;
static readonly KEY_PRINT_SCREEN: string;
static readonly KEY_PAUSE: string;
static readonly KEY_CAPS_LOCK: string;
static readonly KEY_NUM_LOCK: string;
static readonly KEY_SCROLL_LOCK: string;
static readonly KEY_INSERT: string;
static readonly KEY_HOME: string;
static readonly KEY_PAGE_UP: string;
static readonly KEY_DELETE: string;
static readonly KEY_END: string;
static readonly KEY_PAGE_DOWN: string;
static readonly KEY_ARROW_UP: string;
static readonly KEY_ARROW_LEFT: string;
static readonly KEY_ARROW_RIGHT: string;
static readonly KEY_ARROW_DOWN: string;
static readonly KEY_NUMPAD_0: string;
static readonly KEY_NUMPAD_1: string;
static readonly KEY_NUMPAD_2: string;
static readonly KEY_NUMPAD_3: string;
static readonly KEY_NUMPAD_4: string;
static readonly KEY_NUMPAD_5: string;
static readonly KEY_NUMPAD_6: string;
static readonly KEY_NUMPAD_7: string;
static readonly KEY_NUMPAD_8: string;
static readonly KEY_NUMPAD_9: string;
static readonly KEY_NUMPAD_ADD: string;
static readonly KEY_NUMPAD_SUBTRACT: string;
static readonly KEY_NUMPAD_MULTIPLY: string;
static readonly KEY_NUMPAD_DIVIDE: string;
static readonly KEY_NUMPAD_DECIMAL: string;
static readonly KEY_NUMPAD_ENTER: string;
}