KEY_GRAVE = b"\x35"
KEY_1 = b"\x1e"
KEY_2 = b"\x1f"
KEY_3 = b"\x20"
KEY_4 = b"\x21"
KEY_5 = b"\x22"
KEY_6 = b"\x23"
KEY_7 = b"\x24"
KEY_8 = b"\x25"
KEY_9 = b"\x26"
KEY_0 = b"\x27"
KEY_MINUS = b"\x2d"
KEY_EQUAL = b"\x2e"
KEY_CODE_14 = b"\x89"
KEY_BACKSPACE = b"\x2a"
KEY_TAB = b"\x2b"
KEY_Q = b"\x14"
KEY_W = b"\x1a"
KEY_E = b"\x08"
KEY_R = b"\x15"
KEY_T = b"\x17"
KEY_Y = b"\x1c"
KEY_U = b"\x18"
KEY_I = b"\x0c"
KEY_O = b"\x12"
KEY_P = b"\x13"
KEY_BRACKET_LEFT = b"\x2f"
KEY_BRACKET_RIGHT = b"\x30"
KEY_CODE_29 = b"\x31"  # backslash
KEY_CAPS_LOCK = b"\x39"
KEY_A = b"\x04"
KEY_S = b"\x16"
KEY_D = b"\x07"
KEY_F = b"\x09"
KEY_G = b"\x0a"
KEY_H = b"\x0b"
KEY_J = b"\x0d"
KEY_K = b"\x0e"
KEY_L = b"\x0f"
KEY_SEMICOLON = b"\x33"
KEY_APOSTROPHE = b"\x34"
KEY_CODE_42 = b"\x32"
KEY_ENTER = b"\x28"
KEY_SHIFT_L = b"\xe1"
KEY_CODE_45 = b"\x64"
KEY_Z = b"\x1d"
KEY_X = b"\x1b"
KEY_C = b"\x06"
KEY_V = b"\x19"
KEY_B = b"\x05"
KEY_N = b"\x11"
KEY_M = b"\x10"
KEY_COMMA = b"\x36"
KEY_PERIOD = b"\x37"
KEY_SLASH = b"\x38"
KEY_CODE_56 = b"\x87"  # Unknown
KEY_SHIFT_R = b"\xe5"
KEY_CTRL_L = b"\xe0"
#
KEY_ALT_L = b"\xe2"
KEY_SPACE = b"\x2c"
KEY_ALT_R = b"\xe6"
#
KEY_CTRL_R = b"\xe4"
#
#
#
#
#
#
#
#
#
#
KEY_INSERT = b"\x49"
KEY_DELETE = b"\x4c"
#
#
KEY_ARROW_LEFT = b"\x50"
KEY_HOME = b"\x4a"
KEY_END = b"\x4d"
#
KEY_ARROW_UP = b"\x52"
KEY_ARROW_DOWN = b"\x51"
KEY_PAGE_UP = b"\x4b"
KEY_PAGE_DOWN = b"\x4e"
#
#
KEY_ARROW_RIGHT = b"\x4f"
KEY_NUM_LOCK = b"\x53"
KEY_KEYPAD_7 = b"\x5f"
KEY_KEYPAD_4 = b"\x5c"
KEY_KEYPAD_1 = b"\x59"
#
KEY_KEYPAD_DIVIDE = b"\x54"
KEY_KEYPAD_8 = b"\x60"
KEY_KEYPAD_5 = b"\x5d"
KEY_KEYPAD_2 = b"\x5a"
KEY_KEYPAD_0 = b"\x62"
KEY_KEYPAD_MULTIPLY = b"\x55"
KEY_KEYPAD_9 = b"\x61"
KEY_KEYPAD_6 = b"\x5e"
KEY_KEYPAD_3 = b"\x5b"
KEY_KEYPAD_DECIMAL = b"\x63"
KEY_KEYPAD_SUBTRACT = b"\x56"
KEY_KEYPAD_ADD = b"\x57"
KEY_CODE_107 = b"\x85"  # Unknown
KEY_KEYPAD_ENTER = b"\x58"
#
KEY_ESCAPE = b"\x29"
#
KEY_F1 = b"\x3a"
KEY_F2 = b"\x3b"
KEY_F3 = b"\x3c"
KEY_F4 = b"\x3d"
KEY_F5 = b"\x3e"
KEY_F6 = b"\x3f"
KEY_F7 = b"\x40"
KEY_F8 = b"\x41"
KEY_F9 = b"\x42"
KEY_F10 = b"\x43"
KEY_F11 = b"\x44"
KEY_F12 = b"\x45"
KEY_PRINT_SCREEN = b"\x46"
KEY_SCROLL_LOCK = b"\x47"
KEY_PAUSE = b"\x48"
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
# Japanese
# Japanese
# Japanese
# KoreaKC-L
# KoreaKC-R
# ACPI
# ACPI
# ACPI
KEY_WIN_L = b"\xe3"
KEY_WIN_R = b"\xe7"
KEY_WIN_APP = b"\x65"
KEY_NONE = b"\x00"

# Reference: CH9329 chip document page 15 'CH9329 Key Code Table'
# Line number denotes the serial number in the documentation
