This guide is current as of July 5th, 2013, and contains updated warnings, annotations, and information about SDL 2.0, which will be included in the next major version release of MegaZeux.
On small displays the numpad will appear above the rest of the keyboard. For a static full-size display, edit this HTML file and remove /* and */ from the sixth line.
NLock
69
300 |
/
53
267 |
*
55
268 |
-
74
269 |
Home7
71
263 |
Up8
72
264 |
PgUp7
73
265 |
+
78
270 |
Left4
75
260 |
Num5
76
261 |
Right6
77
262 |
|
End1
79
257 |
Down2
80
258 |
PgDn3
81
259 |
Return
28
271 |
Insert 0
82
256 |
Delete .
83
266 |
Esc
1
27 |
F1
59
282 |
F2
60
283 |
F3
61
284 |
F4
62
285 |
F5
63
286 |
F6
64
287 |
F7
65
26 |
F8
66
289 |
F9
67
290 |
F10
68
291 |
F11
87
292 |
F12
?
? |
SysRq
?
316 |
ScLock
70
302 |
Break
197
318 |
|||||
`
41
96 |
1
2
49 |
2
3
50 |
3
4
51 |
4
5
52 |
5
6
53 |
6
7
54 |
7
8
55 |
8
9
56 |
9
10
57 |
0
11
48 |
-
12
45 |
=
13
61 |
BackSp
14
8 |
Insert
82
277 |
Home
71
278 |
PageUp
73
280 |
Tab
15
9 |
Q
16
113 |
W
17
119 |
E
18
101 |
R
19
114 |
T
20
116 |
Y
21
121 |
U
22
117 |
I
23
105 |
O
24
111 |
P
25
112 |
[
26
91 |
]
27
93 |
\
43
92 |
Delete
83
127 |
End
79
279 |
PageDn
81
281 |
Caps Lock
58
301 |
A
30
97 |
S
31
115 |
D
32
100 |
F
33
102 |
G
34
103 |
H
35
104 |
J
36
106 |
K
37
107 |
L
38
108 |
;
39
59 |
'
40
39 |
Enter/Return
28
13 |
Left Shift
42
304 |
Z
44
122 |
X
45
120 |
C
46
99 |
V
47
118 |
B
48
98 |
N
49
110 |
M
50
109 |
,
51
44 |
.
52
46 |
/
53
47 |
Right Shift
54
303 |
Up
72
273 |
L. Control
29
306 |
L. Meta
91
311 |
L. Alt
56
308 |
Space
57
32 |
R. Alt
56
307 |
R. Meta
92
312 |
R. Click
93
319 |
R. Control
29
305 |
Left
75
276 |
Down
80
274 |
Right
77
275 |
||
Key:
key_code / key(n)
key_pressed |
Normal key—always available for use. | Game key—can be disabled via Robotic. | Debug key—has a unique function only while testing. | This key may be missing between keyboards. | Unusable key—can not or should not be used ever. |
Escape is used to exit gameplay and therefore can never actually be used as a part of gameplay. This will probably never change.
F12 is currently used as the screenshot key. Other function keys (F13-F16) are not supported by MegaZeux.
The results for this value can vary between systems or may not be detected at all by MegaZeux. Personal use only. The values shown are the last-known unique values.
The result of this key is or may be different between SDL 1.2 and SDL 2.0. In the case of Break, the original KEY_CODE returned nothing and the original KEY_PRESSED returned 19. The values shown are SDL 2.0 values unless annotated otherwise.
This key does NOT work in SDL 2.0 at all in any useful way. The values shown are SDL 1.2 values.
SDL 1.2 and SDL 2.0 handle Caps Lock differently—SDL 1.2 would hold the key code, even if MegaZeux was put out of focus and Caps Lock was then turned off. SDL 2.0 treats Caps Lock like a normal key.
If the superscript annotations are not appearing, please download a version of your web browser that supports pseudo-elements: Internet Explorer 8+, Opera 6+, Safari 1.3+, Firefox 3.5+