@awayjs/core
Version:
AwayJS core classes
838 lines • 19.8 kB
TypeScript
export declare class Keyboard {
/**
* Constant associated with the key code value for the A key (65).
*/
static A: number;
/**
* Constant associated with the key code value for the Alternate (Option)
* key (18).
*/
static ALTERNATE: number;
/**
* Select the audio mode
*/
static AUDIO: number;
/**
* Constant associated with the key code value for the B key (66).
*/
static B: number;
/**
* Return to previous page in application
*/
static BACK: number;
/**
* Constant associated with the key code value for the ` key (192).
*/
static BACKQUOTE: number;
/**
* Constant associated with the key code value for the \ key (220).
*/
static BACKSLASH: number;
/**
* Constant associated with the key code value for the Backspace key (8).
*/
static BACKSPACE: number;
/**
* Blue function key button
*/
static BLUE: number;
/**
* Constant associated with the key code value for the C key (67).
*/
static C: number;
/**
* Constant associated with the key code value for the Caps Lock key (20).
*/
static CAPS_LOCK: number;
/**
* Channel down
*/
static CHANNEL_DOWN: number;
/**
* Channel up
*/
static CHANNEL_UP: number;
/**
* Constant associated with the key code value for the , key (188).
*/
static COMMA: number;
/**
* Constant associated with the Mac command key (15). This constant is
* currently only used for setting menu key equivalents.
*/
static COMMAND: number;
/**
* Constant associated with the key code value for the Control key (17).
*/
static CONTROL: number;
/**
* An array containing all the defined key name constants.
*/
static CharCodeStrings: Array<any>;
/**
* Constant associated with the key code value for the D key (68).
*/
static D: number;
/**
* Constant associated with the key code value for the Delete key (46).
*/
static DELETE: number;
/**
* Constant associated with the key code value for the Down Arrow key (40).
*/
static DOWN: number;
/**
* Engage DVR application mode
*/
static DVR: number;
/**
* Constant associated with the key code value for the E key (69).
*/
static E: number;
/**
* Constant associated with the key code value for the End key (35).
*/
static END: number;
/**
* Constant associated with the key code value for the Enter key (13).
*/
static ENTER: number;
/**
* Constant associated with the key code value for the = key (187).
*/
static EQUAL: number;
/**
* Constant associated with the key code value for the Escape key (27).
*/
static ESCAPE: number;
/**
* Exits current application mode
*/
static EXIT: number;
/**
* Constant associated with the key code value for the F key (70).
*/
static F: number;
/**
* Constant associated with the key code value for the F1 key (112).
*/
static F1: number;
/**
* Constant associated with the key code value for the F10 key (121).
*/
static F10: number;
/**
* Constant associated with the key code value for the F11 key (122).
*/
static F11: number;
/**
* Constant associated with the key code value for the F12 key (123).
*/
static F12: number;
/**
* Constant associated with the key code value for the F13 key (124).
*/
static F13: number;
/**
* Constant associated with the key code value for the F14 key (125).
*/
static F14: number;
/**
* Constant associated with the key code value for the F15 key (126).
*/
static F15: number;
/**
* Constant associated with the key code value for the F2 key (113).
*/
static F2: number;
/**
* Constant associated with the key code value for the F3 key (114).
*/
static F3: number;
/**
* Constant associated with the key code value for the F4 key (115).
*/
static F4: number;
/**
* Constant associated with the key code value for the F5 key (116).
*/
static F5: number;
/**
* Constant associated with the key code value for the F6 key (117).
*/
static F6: number;
/**
* Constant associated with the key code value for the F7 key (118).
*/
static F7: number;
/**
* Constant associated with the key code value for the F8 key (119).
*/
static F8: number;
/**
* Constant associated with the key code value for the F9 key (120).
*/
static F9: number;
/**
* Engage fast-forward transport mode
*/
static FAST_FORWARD: number;
/**
* Constant associated with the key code value for the G key (71).
*/
static G: number;
/**
* Green function key button
*/
static GREEN: number;
/**
* Engage program guide
*/
static GUIDE: number;
/**
* Constant associated with the key code value for the H key (72).
*/
static H: number;
/**
* Engage help application or context-sensitive help
*/
static HELP: number;
/**
* Constant associated with the key code value for the Home key (36).
*/
static HOME: number;
/**
* Constant associated with the key code value for the I key (73).
*/
static I: number;
/**
* Info button
*/
static INFO: number;
/**
* Cycle input
*/
static INPUT: number;
/**
* Constant associated with the key code value for the Insert key (45).
*/
static INSERT: number;
/**
* Constant associated with the key code value for the J key (74).
*/
static J: number;
/**
* Constant associated with the key code value for the K key (75).
*/
static K: number;
/**
* The Begin key
*/
static KEYNAME_BEGIN: string;
/**
* The Break key
*/
static KEYNAME_BREAK: string;
/**
* The Clear Display key
*/
static KEYNAME_CLEARDISPLAY: string;
/**
* The Clear Line key
*/
static KEYNAME_CLEARLINE: string;
/**
* The Delete key
*/
static KEYNAME_DELETE: string;
/**
* The Delete Character key
*/
static KEYNAME_DELETECHAR: string;
/**
* The Delete Line key
*/
static KEYNAME_DELETELINE: string;
/**
* The down arrow
*/
static KEYNAME_DOWNARROW: string;
/**
* The End key
*/
static KEYNAME_END: string;
/**
* The Execute key
*/
static KEYNAME_EXECUTE: string;
/**
* The F1 key
*/
static KEYNAME_F1: string;
/**
* The F10 key
*/
static KEYNAME_F10: string;
/**
* The F11 key
*/
static KEYNAME_F11: string;
/**
* The F12 key
*/
static KEYNAME_F12: string;
/**
* The F13 key
*/
static KEYNAME_F13: string;
/**
* The F14 key
*/
static KEYNAME_F14: string;
/**
* The F15 key
*/
static KEYNAME_F15: string;
/**
* The F16 key
*/
static KEYNAME_F16: string;
/**
* The F17 key
*/
static KEYNAME_F17: string;
/**
* The F18 key
*/
static KEYNAME_F18: string;
/**
* The F19 key
*/
static KEYNAME_F19: string;
/**
* The F2 key
*/
static KEYNAME_F2: string;
/**
* The F20 key
*/
static KEYNAME_F20: string;
/**
* The F21 key
*/
static KEYNAME_F21: string;
/**
* The F22 key
*/
static KEYNAME_F22: string;
/**
* The F23 key
*/
static KEYNAME_F23: string;
/**
* The F24 key
*/
static KEYNAME_F24: string;
/**
* The F25 key
*/
static KEYNAME_F25: string;
/**
* The F26 key
*/
static KEYNAME_F26: string;
/**
* The F27 key
*/
static KEYNAME_F27: string;
/**
* The F28 key
*/
static KEYNAME_F28: string;
/**
* The F29 key
*/
static KEYNAME_F29: string;
/**
* The F3 key
*/
static KEYNAME_F3: string;
/**
* The F30 key
*/
static KEYNAME_F30: string;
/**
* The F31 key
*/
static KEYNAME_F31: string;
/**
* The F32 key
*/
static KEYNAME_F32: string;
/**
* The F33 key
*/
static KEYNAME_F33: string;
/**
* The F34 key
*/
static KEYNAME_F34: string;
/**
* The F35 key
*/
static KEYNAME_F35: string;
/**
* The F4 key
*/
static KEYNAME_F4: string;
/**
* The F5 key
*/
static KEYNAME_F5: string;
/**
* The F6 key
*/
static KEYNAME_F6: string;
/**
* The F7 key
*/
static KEYNAME_F7: string;
/**
* The F8 key
*/
static KEYNAME_F8: string;
/**
* The F9 key
*/
static KEYNAME_F9: string;
/**
* The Find key
*/
static KEYNAME_FIND: string;
/**
* The Help key
*/
static KEYNAME_HELP: string;
/**
* The Home key
*/
static KEYNAME_HOME: string;
/**
* The Insert key
*/
static KEYNAME_INSERT: string;
/**
* The Insert Character key
*/
static KEYNAME_INSERTCHAR: string;
/**
* The Insert Line key
*/
static KEYNAME_INSERTLINE: string;
/**
* The left arrow
*/
static KEYNAME_LEFTARROW: string;
/**
* The Menu key
*/
static KEYNAME_MENU: string;
/**
* The Mode Switch key
*/
static KEYNAME_MODESWITCH: string;
/**
* The Next key
*/
static KEYNAME_NEXT: string;
/**
* The Page Down key
*/
static KEYNAME_PAGEDOWN: string;
/**
* The Page Up key
*/
static KEYNAME_PAGEUP: string;
/**
* The Pause key
*/
static KEYNAME_PAUSE: string;
/**
* The Previous key
*/
static KEYNAME_PREV: string;
/**
* The PRINT key
*/
static KEYNAME_PRINT: string;
/**
* The PRINT Screen
*/
static KEYNAME_PRINTSCREEN: string;
/**
* The Redo key
*/
static KEYNAME_REDO: string;
/**
* The Reset key
*/
static KEYNAME_RESET: string;
/**
* The right arrow
*/
static KEYNAME_RIGHTARROW: string;
/**
* The Scroll Lock key
*/
static KEYNAME_SCROLLLOCK: string;
/**
* The Select key
*/
static KEYNAME_SELECT: string;
/**
* The Stop key
*/
static KEYNAME_STOP: string;
/**
* The System Request key
*/
static KEYNAME_SYSREQ: string;
/**
* The System key
*/
static KEYNAME_SYSTEM: string;
/**
* The Undo key
*/
static KEYNAME_UNDO: string;
/**
* The up arrow
*/
static KEYNAME_UPARROW: string;
/**
* The User key
*/
static KEYNAME_USER: string;
/**
* Constant associated with the key code value for the L key (76).
*/
static L: number;
/**
* Watch last channel or show watched
*/
static LAST: number;
/**
* Constant associated with the key code value for the Left Arrow key (37).
*/
static LEFT: number;
/**
* Constant associated with the key code value for the [ key (219).
*/
static LEFTBRACKET: number;
/**
* Return to live [position in broadcast]
*/
static LIVE: number;
/**
* Constant associated with the key code value for the M key (77).
*/
static M: number;
/**
* Engage "Master Shell" e.g. TiVo or other vendor button
*/
static MASTER_SHELL: number;
/**
* Engage menu
*/
static MENU: number;
/**
* Constant associated with the key code value for the - key (189).
*/
static MINUS: number;
/**
* Constant associated with the key code value for the N key (78).
*/
static N: number;
/**
* Skip to next track or chapter
*/
static NEXT: number;
/**
* Constant associated with the key code value for the 0 key (48).
*/
static NUMBER_0: number;
/**
* Constant associated with the key code value for the 1 key (49).
*/
static NUMBER_1: number;
/**
* Constant associated with the key code value for the 2 key (50).
*/
static NUMBER_2: number;
/**
* Constant associated with the key code value for the 3 key (51).
*/
static NUMBER_3: number;
/**
* Constant associated with the key code value for the 4 key (52).
*/
static NUMBER_4: number;
/**
* Constant associated with the key code value for the 5 key (53).
*/
static NUMBER_5: number;
/**
* Constant associated with the key code value for the 6 key (54).
*/
static NUMBER_6: number;
/**
* Constant associated with the key code value for the 7 key (55).
*/
static NUMBER_7: number;
/**
* Constant associated with the key code value for the 8 key (56).
*/
static NUMBER_8: number;
/**
* Constant associated with the key code value for the 9 key (57).
*/
static NUMBER_9: number;
/**
* Constant associated with the pseudo-key code for the the number pad (21).
* Use to set numpad modifier on key equivalents
*/
static NUMPAD: number;
/**
* Constant associated with the key code value for the number 0 key on the
* number pad (96).
*/
static NUMPAD_0: number;
/**
* Constant associated with the key code value for the number 1 key on the
* number pad (97).
*/
static NUMPAD_1: number;
/**
* Constant associated with the key code value for the number 2 key on the
* number pad (98).
*/
static NUMPAD_2: number;
/**
* Constant associated with the key code value for the number 3 key on the
* number pad (99).
*/
static NUMPAD_3: number;
/**
* Constant associated with the key code value for the number 4 key on the
* number pad (100).
*/
static NUMPAD_4: number;
/**
* Constant associated with the key code value for the number 5 key on the
* number pad (101).
*/
static NUMPAD_5: number;
/**
* Constant associated with the key code value for the number 6 key on the
* number pad (102).
*/
static NUMPAD_6: number;
/**
* Constant associated with the key code value for the number 7 key on the
* number pad (103).
*/
static NUMPAD_7: number;
/**
* Constant associated with the key code value for the number 8 key on the
* number pad (104).
*/
static NUMPAD_8: number;
/**
* Constant associated with the key code value for the number 9 key on the
* number pad (105).
*/
static NUMPAD_9: number;
/**
* Constant associated with the key code value for the addition key on the
* number pad (107).
*/
static NUMPAD_ADD: number;
/**
* Constant associated with the key code value for the decimal key on the
* number pad (110).
*/
static NUMPAD_DECIMAL: number;
/**
* Constant associated with the key code value for the division key on the
* number pad (111).
*/
static NUMPAD_DIVIDE: number;
/**
* Constant associated with the key code value for the Enter key on the
* number pad (108).
*/
static NUMPAD_ENTER: number;
/**
* Constant associated with the key code value for the multiplication key on
* the number pad (106).
*/
static NUMPAD_MULTIPLY: number;
/**
* Constant associated with the key code value for the subtraction key on
* the number pad (109).
*/
static NUMPAD_SUBTRACT: number;
/**
* Constant associated with the key code value for the O key (79).
*/
static O: number;
/**
* Constant associated with the key code value for the P key (80).
*/
static P: number;
/**
* Constant associated with the key code value for the Page Down key (34).
*/
static PAGE_DOWN: number;
/**
* Constant associated with the key code value for the Page Up key (33).
*/
static PAGE_UP: number;
/**
* Engage pause transport mode
*/
static PAUSE: number;
/**
* Constant associated with the key code value for the . key (190).
*/
static PERIOD: number;
/**
* Engage play transport mode
*/
static PLAY: number;
/**
* Skip to previous track or chapter
*/
static PREVIOUS: number;
/**
* Constant associated with the key code value for the Q key (81).
*/
static Q: number;
/**
* Constant associated with the key code value for the ' key (222).
*/
static QUOTE: number;
/**
* Constant associated with the key code value for the R key (82).
*/
static R: number;
/**
* Record item or engage record transport mode
*/
static RECORD: number;
/**
* Red function key button
*/
static RED: number;
/**
* Engage rewind transport mode
*/
static REWIND: number;
/**
* Constant associated with the key code value for the Right Arrow key (39).
*/
static RIGHT: number;
/**
* Constant associated with the key code value for the ] key (221).
*/
static RIGHTBRACKET: number;
/**
* Constant associated with the key code value for the S key (83).
*/
static S: number;
/**
* Search button
*/
static SEARCH: number;
/**
* Constant associated with the key code value for the ; key (186).
*/
static SEMICOLON: number;
/**
* Engage setup application or menu
*/
static SETUP: number;
/**
* Constant associated with the key code value for the Shift key (16).
*/
static SHIFT: number;
/**
* Quick skip backward (usually 7-10 seconds)
*/
static SKIP_BACKWARD: number;
/**
* Quick skip ahead (usually 30 seconds)
*/
static SKIP_FORWARD: number;
/**
* Constant associated with the key code value for the / key (191).
*/
static SLASH: number;
/**
* Constant associated with the key code value for the Spacebar (32).
*/
static SPACE: number;
/**
* Engage stop transport mode
*/
static STOP: number;
/**
* Toggle subtitles
*/
static SUBTITLE: number;
/**
* Constant associated with the key code value for the T key (84).
*/
static T: number;
/**
* Constant associated with the key code value for the Tab key (9).
*/
static TAB: number;
/**
* Constant associated with the key code value for the U key (85).
*/
static U: number;
/**
* Constant associated with the key code value for the Up Arrow key (38).
*/
static UP: number;
/**
* Constant associated with the key code value for the V key (86).
*/
static V: number;
/**
* Engage video-on-demand
*/
static VOD: number;
/**
* Constant associated with the key code value for the W key (87).
*/
static W: number;
/**
* Constant associated with the key code value for the X key (88).
*/
static X: number;
/**
* Constant associated with the key code value for the Y key (89).
*/
static Y: number;
/**
* Yellow function key button
*/
static YELLOW: number;
/**
* Constant associated with the key code value for the Z key (90).
*/
static Z: number;
}
//# sourceMappingURL=Keyboard.d.ts.map