
Esc = 0x01
F1 = 0x3B
F2 = 0x3C
F3 = 0x3D
F4 = 0x3E
F5 = 0x3F
F6 = 0x40
F7 = 0x41
F8 = 0x42
F9 = 0x43
F10 = 0x44
F11 = 0x57
F12 = 0x58


GRAVE = 0x29         #/* accent grave */
No1 = 0x02
No2 = 0x03
No3 = 0x04
No4 = 0x05
No5 = 0x06
No6 = 0x07
N07 = 0x08
No8 = 0x09
No9 = 0x0A
No0 = 0x0B
MINUS = 0x0C         #/* - on main keyboard */
EQUALS = 0x0D
BACK = 0x0E          #/*  backspace   */


TAB = 0x0F
Q = 0x10
W = 0x11
E = 0x12
R = 0x13
T = 0x14
Y = 0x15
U = 0x16
I = 0x17
O = 0x18
P = 0x19
LBRACKET = 0x1A
RBRACKET = 0x1B
BACKSLASH = 0x2B


CAPITAL = 0x3A     
A = 0x1E
S = 0x1F
D = 0x20
F = 0x21
G = 0x22
H = 0x23
J = 0x24
K = 0x25
L = 0x26
SEMICOLON = 0x27
APOSTROPHE = 0x28
RETURN = 0x1C        #/* Enter on main keyboard */


LSHIFT = 0x2A
Z = 0x2C
X = 0x2D
C = 0x2E
V = 0x2F
B = 0x30
N = 0x31
M = 0x32
COMMA = 0x33
PERIOD = 0x34        #/* . on main keyboard */
SLASH = 0x35         #/* / on main keyboard */
RSHIFT = 0x36


LCTRL = 0x1D
LWIN = 0xDB          #/* Left Windows key */
LALT = 0x38          #/* left Alt */
SPACE = 0x39
RALT = 0xB8          #/* right Alt */
RCTRL = 0x9D 
APPS = 0xDD          #/* AppMenu key */


UP = 0xC8            #/* UpArrow on main keypad */
DOWN = 0xD0          #/* DownArrow on main keypad */
LEFT = 0xCB          #/* LeftArrow on main keypad */
RIGHT = 0xCD         #/* RightArrow on main keypad */


INSERT = 0xD2        #/* Insert on arrow keypad */
DELETE = 0xD3        #/* Delete on arrow keypad */
HOME = 0xC7          #/* Home on arrow keypad */
PGUP = 0xC9         #/* PgUp on arrow keypad */
PGDN = 0xD1          #/* PgDn on arrow keypad */
END = 0xCF           #/* End on arrow keypad */











NUMLOCK = 0x45
SCROLL = 0x46        #/* Scroll Lock */
NUMPAD7 = 0x47
NUMPAD8 = 0x48
NUMPAD9 = 0x49
SUBTRACT = 0x4A      #/* - on numeric keypad */
NUMPAD4 = 0x4B
NUMPAD5 = 0x4C
NUMPAD6 = 0x4D
ADD = 0x4E           #/* + on numeric keypad */
NUMPAD1 = 0x4F
NUMPAD2 = 0x50
NUMPAD3 = 0x51
NUMPAD0 = 0x52
DECIMAL = 0x53       #/* . on numeric keypad */
F13 = 0x64           #/*                     (NEC PC98) */
F14 = 0x65           #/*                     (NEC PC98) */
F15 = 0x66           #/*                     (NEC PC98) */ 
NUMPADENTER = 0x9C   #/* Enter on numeric keypad */
NUMPADCOMMA = 0xB3   #/* , on numeric keypad (NEC PC98) */
MULTIPLY = 0x37      #/* * on numeric keypad */
DIVIDE = 0xB5        #/* / on numeric keypad */
SYSRQ = 0xB7    
RWIN = 0xDC          #/* Right Windows key */
APPS = 0xDD          #/* AppMenu key */