UNPKG

zombiebox

Version:

ZombieBox is a JavaScript framework for development of Smart TV and STB applications

72 lines (60 loc) 935 B
/* * This file is part of the ZombieBox package. * * Copyright © 2012-2021, Interfaced * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * @enum {number} */ const Key = { UNKNOWN: 0, LEFT: 1, UP: 2, RIGHT: 3, DOWN: 4, DIGIT_0: 5, DIGIT_1: 6, DIGIT_2: 7, DIGIT_3: 8, DIGIT_4: 9, DIGIT_5: 10, DIGIT_6: 11, DIGIT_7: 12, DIGIT_8: 13, DIGIT_9: 14, PLAY: 15, PAUSE: 16, STOP: 17, FWD: 18, REW: 19, BACK: 20, ENTER: 21, MENU: 22, INFO: 23, PAGE_UP: 24, PAGE_DOWN: 25, NEXT_CHAPTER: 26, PREV_CHAPTER: 27, VOLUME_DOWN: 28, VOLUME_UP: 29, RED: 30, GREEN: 31, BLUE: 32, YELLOW: 33, EXIT: 34, POWER: 35, REFRESH: 36, MUTE: 37, BACKSPACE: 38, PLAY_PAUSE: 39, TOOLS: 40, ASPECT_RATIO: 41, MOUSE_WHEEL_UP: 42, MOUSE_WHEEL_DOWN: 43, MOUSE_WHEEL_LEFT: 44, MOUSE_WHEEL_RIGHT: 45 }; export default Key;