There is a full set of codes for each key on a standard English keyboard. These codes can be used for keyboard shotcuts, form manipulation and a multitude of other keyup, keydown, and keypress events.

Keyboard codes for JavaScript

KeyCode
backspace 8
tab 9
enter (keyboard) 13
shift 16
ctrl 17
alt 18
pause | break 19
caps lock 20
escape 21
page up 33
page down 34
end 35
home 36
left arrow 37
up arrow 38
right arrow 39
down arrow 40
insert 45
delete 46
0 (keyboard) 48
1 (keyboard) 49
2 (keyboard) 50
3 (keyboard) 51
4 (keyboard) 52
5 (keyboard) 53
6 (keyboard) 54
7 (keyboard) 55
8 (keyboard) 56
9 (keyboard) 57
- (keyboard) 173
= (keyboard) 61
0 (numpad) 96
1 (numpad) 97
2 (numpad) 98
3 (numpad) 99
4 (numpad) 100
5 (numpad) 101
6 (numpad) 102
7 (numpad) 103
8 (numpad) 104
9 (numpad) 105
num lock 144 
/ (numpad) 111
* (numpad) 106
- (numpad) 109
+ (numpad) 107
enter (numpad) 13
KeyCode
a 65
b 66
c 67
d 68
e 69
f 70
g 71
h 72
i 73
j 74
k 75
l 76
m 77
n 78
o 79
p 80
q 81
r 82
s 83
t 84
u 85
v 86
w 87
x 88
y 89
z 90
f1 112
f2 113
f3 114
f4 115
f5 116
f6 117
f7 118
f8 119
f9 120
f10 121
f11 122
f12 123
[ 219
] 221
\ (keyboard) 220
` 192