@flashport/flashport
Version:
FlashPort is a TypeScript 2D graphics library that largely replicates the Flash ActionScript 3.0 library
285 lines (284 loc) • 8.54 kB
TypeScript
export declare class Keyboard extends Object {
static KEYNAME_UPARROW: string;
static KEYNAME_DOWNARROW: string;
static KEYNAME_LEFTARROW: string;
static KEYNAME_RIGHTARROW: string;
static KEYNAME_F1: string;
static KEYNAME_F2: string;
static KEYNAME_F3: string;
static KEYNAME_F4: string;
static KEYNAME_F5: string;
static KEYNAME_F6: string;
static KEYNAME_F7: string;
static KEYNAME_F8: string;
static KEYNAME_F9: string;
static KEYNAME_F10: string;
static KEYNAME_F11: string;
static KEYNAME_F12: string;
static KEYNAME_F13: string;
static KEYNAME_F14: string;
static KEYNAME_F15: string;
static KEYNAME_F16: string;
static KEYNAME_F17: string;
static KEYNAME_F18: string;
static KEYNAME_F19: string;
static KEYNAME_F20: string;
static KEYNAME_F21: string;
static KEYNAME_F22: string;
static KEYNAME_F23: string;
static KEYNAME_F24: string;
static KEYNAME_F25: string;
static KEYNAME_F26: string;
static KEYNAME_F27: string;
static KEYNAME_F28: string;
static KEYNAME_F29: string;
static KEYNAME_F30: string;
static KEYNAME_F31: string;
static KEYNAME_F32: string;
static KEYNAME_F33: string;
static KEYNAME_F34: string;
static KEYNAME_F35: string;
static KEYNAME_INSERT: string;
static KEYNAME_DELETE: string;
static KEYNAME_HOME: string;
static KEYNAME_BEGIN: string;
static KEYNAME_END: string;
static KEYNAME_PAGEUP: string;
static KEYNAME_PAGEDOWN: string;
static KEYNAME_PRINTSCREEN: string;
static KEYNAME_SCROLLLOCK: string;
static KEYNAME_PAUSE: string;
static KEYNAME_SYSREQ: string;
static KEYNAME_BREAK: string;
static KEYNAME_RESET: string;
static KEYNAME_STOP: string;
static KEYNAME_MENU: string;
static KEYNAME_USER: string;
static KEYNAME_SYSTEM: string;
static KEYNAME_PRINT: string;
static KEYNAME_CLEARLINE: string;
static KEYNAME_CLEARDISPLAY: string;
static KEYNAME_INSERTLINE: string;
static KEYNAME_DELETELINE: string;
static KEYNAME_INSERTCHAR: string;
static KEYNAME_DELETECHAR: string;
static KEYNAME_PREV: string;
static KEYNAME_NEXT: string;
static KEYNAME_SELECT: string;
static KEYNAME_EXECUTE: string;
static KEYNAME_UNDO: string;
static KEYNAME_REDO: string;
static KEYNAME_FIND: string;
static KEYNAME_HELP: string;
static KEYNAME_MODESWITCH: string;
static STRING_UPARROW: string;
static STRING_DOWNARROW: string;
static STRING_LEFTARROW: string;
static STRING_RIGHTARROW: string;
static STRING_F1: string;
static STRING_F2: string;
static STRING_F3: string;
static STRING_F4: string;
static STRING_F5: string;
static STRING_F6: string;
static STRING_F7: string;
static STRING_F8: string;
static STRING_F9: string;
static STRING_F10: string;
static STRING_F11: string;
static STRING_F12: string;
static STRING_F13: string;
static STRING_F14: string;
static STRING_F15: string;
static STRING_F16: string;
static STRING_F17: string;
static STRING_F18: string;
static STRING_F19: string;
static STRING_F20: string;
static STRING_F21: string;
static STRING_F22: string;
static STRING_F23: string;
static STRING_F24: string;
static STRING_F25: string;
static STRING_F26: string;
static STRING_F27: string;
static STRING_F28: string;
static STRING_F29: string;
static STRING_F30: string;
static STRING_F31: string;
static STRING_F32: string;
static STRING_F33: string;
static STRING_F34: string;
static STRING_F35: string;
static STRING_INSERT: string;
static STRING_DELETE: string;
static STRING_HOME: string;
static STRING_BEGIN: string;
static STRING_END: string;
static STRING_PAGEUP: string;
static STRING_PAGEDOWN: string;
static STRING_PRINTSCREEN: string;
static STRING_SCROLLLOCK: string;
static STRING_PAUSE: string;
static STRING_SYSREQ: string;
static STRING_BREAK: string;
static STRING_RESET: string;
static STRING_STOP: string;
static STRING_MENU: string;
static STRING_USER: string;
static STRING_SYSTEM: string;
static STRING_PRINT: string;
static STRING_CLEARLINE: string;
static STRING_CLEARDISPLAY: string;
static STRING_INSERTLINE: string;
static STRING_DELETELINE: string;
static STRING_INSERTCHAR: string;
static STRING_DELETECHAR: string;
static STRING_PREV: string;
static STRING_NEXT: string;
static STRING_SELECT: string;
static STRING_EXECUTE: string;
static STRING_UNDO: string;
static STRING_REDO: string;
static STRING_FIND: string;
static STRING_HELP: string;
static STRING_MODESWITCH: string;
static CharCodeStrings: any[];
static NUMBER_0: number;
static NUMBER_1: number;
static NUMBER_2: number;
static NUMBER_3: number;
static NUMBER_4: number;
static NUMBER_5: number;
static NUMBER_6: number;
static NUMBER_7: number;
static NUMBER_8: number;
static NUMBER_9: number;
static A: number;
static B: number;
static C: number;
static D: number;
static E: number;
static F: number;
static G: number;
static H: number;
static I: number;
static J: number;
static K: number;
static L: number;
static M: number;
static N: number;
static O: number;
static P: number;
static Q: number;
static R: number;
static S: number;
static T: number;
static U: number;
static V: number;
static W: number;
static X: number;
static Y: number;
static Z: number;
static SEMICOLON: number;
static EQUAL: number;
static COMMA: number;
static MINUS: number;
static PERIOD: number;
static SLASH: number;
static BACKQUOTE: number;
static LEFTBRACKET: number;
static BACKSLASH: number;
static RIGHTBRACKET: number;
static QUOTE: number;
static ALTERNATE: number;
static BACKSPACE: number;
static CAPS_LOCK: number;
static COMMAND: number;
static CONTROL: number;
static DELETE: number;
static DOWN: number;
static END: number;
static ENTER: number;
static ESCAPE: number;
static F1: number;
static F2: number;
static F3: number;
static F4: number;
static F5: number;
static F6: number;
static F7: number;
static F8: number;
static F9: number;
static F10: number;
static F11: number;
static F12: number;
static F13: number;
static F14: number;
static F15: number;
static HOME: number;
static INSERT: number;
static LEFT: number;
static NUMPAD: number;
static NUMPAD_0: number;
static NUMPAD_1: number;
static NUMPAD_2: number;
static NUMPAD_3: number;
static NUMPAD_4: number;
static NUMPAD_5: number;
static NUMPAD_6: number;
static NUMPAD_7: number;
static NUMPAD_8: number;
static NUMPAD_9: number;
static NUMPAD_ADD: number;
static NUMPAD_DECIMAL: number;
static NUMPAD_DIVIDE: number;
static NUMPAD_ENTER: number;
static NUMPAD_MULTIPLY: number;
static NUMPAD_SUBTRACT: number;
static PAGE_DOWN: number;
static PAGE_UP: number;
static RIGHT: number;
static SHIFT: number;
static SPACE: number;
static TAB: number;
static UP: number;
static RED: number;
static GREEN: number;
static YELLOW: number;
static BLUE: number;
static CHANNEL_UP: number;
static CHANNEL_DOWN: number;
static RECORD: number;
static PLAY: number;
static PAUSE: number;
static STOP: number;
static FAST_FORWARD: number;
static REWIND: number;
static SKIP_FORWARD: number;
static SKIP_BACKWARD: number;
static NEXT: number;
static PREVIOUS: number;
static LIVE: number;
static LAST: number;
static MENU: number;
static INFO: number;
static GUIDE: number;
static EXIT: number;
static BACK: number;
static AUDIO: number;
static SUBTITLE: number;
static DVR: number;
static VOD: number;
static INPUT: number;
static SETUP: number;
static HELP: number;
static MASTER_SHELL: number;
static SEARCH: number;
constructor();
static get capsLock(): boolean;
static get numLock(): boolean;
static isAccessible(): boolean;
static get hasVirtualKeyboard(): boolean;
static get physicalKeyboardType(): string;
}