const KeyCode = {
	POWER: 0,		// power key
	OK: 13,			// ok key
	VKB_ENTER: 13,	// enter key
	BACK: 461,		// remote back key
	LEFT: 37,		// left key
	UP: 38,			// up key
	RIGHT: 39,		// right key
	DOWN: 40,		// down key
	BACKSPACE: 8,	// keyboard backspace key
	REW: 412,		// rewind key
	STOP: 413,		// stop key
	PLAY: 415,		// play key
	FF: 417,			// fastforward key
	INFO: 457,		// info key
	PAUSE: 19,		// pause key
	SPACEBAR: 32,	// HID keyboard spacebar
	ESC: 27,			// HID keyboard ESC
	PREVSKIP: 424,	// prev skip (only japan remote key)
	NEXTSKIP: 425,	// next skip (only japan remote key)
	RED: 403,		// RED button.
	GREEN: 404,		// GREEN button.
	YELLOW: 405,		// YELLOW button.
	BLUE: 406,		// BLUE button.
	LIST: 1056,		// LIST button
	EXIT: 1001,		// EXIT button
	MORE_ACTION: 1062,	// More Action Button
	CH_UP: 33,		// CHANNEL UP button
	CH_DOWN: 34,		// CHANNEL DOWN button
	SUBTITLE: 460,
	NUM_0 : 48,
	NUM_1 : 49,
	NUM_2 : 50,
	NUM_3 : 51,
	NUM_4 : 52,
	NUM_5 : 53,
	NUM_6 : 54,
	NUM_7 : 55,
	NUM_8 : 56,
	NUM_9 : 57
};

export const KeyCodeRaw = {
	8: "Backspace",
	9: "Tab",
	13: "Enter",
	16777221: "Enter",
	16: "Shift",
	17: "Control",
	18: "Alt",
	19: "Pause",
	20: "CapsLock",
	27: "Escape",
	32: "Space",
	33: "PageUp",
	34: "PageDown",
	35: "End",
	36: "Home",
	37: "ArrowLeft",
	38: "ArrowUp",
	39: "ArrowRight",
	40: "ArrowDown",
	44: "PrintScreen",
	45: "Insert",
	46: "Delete",
	48: "0",
	49: "1",
	50: "2",
	51: "3",
	52: "4",
	53: "5",
	54: "6",
	55: "7",
	56: "8",
	57: "9",
	65: "a",
	66: "b",
	67: "c",
	68: "d",
	69: "e",
	70: "f",
	71: "g",
	72: "h",
	73: "i",
	74: "j",
	75: "k",
	76: "l",
	77: "m",
	78: "n",
	79: "o",
	80: "p",
	81: "q",
	82: "r",
	83: "s",
	84: "t",
	85: "u",
	86: "v",
	87: "w",
	88: "x",
	89: "y",
	90: "z"
};

export default KeyCode;
