Key codes
Contents |
[edit] Introduction
This is a list of all the key codes returned for the NanoNotes keyboard keys.
You can download a file with #defines for all keys here. If you came here looking for keyboard mappings used by Ben NanoNote's software, take a look at the Applications page. Or if you have come here to learn how to modify your keyboard layout, see here
Note: the key codes are for SDL based applications. These are not the same codes as returned by 'showkeys' for linux console.
[edit] Keys
[edit] Special
Power - 0
This key is useless to map in your applications, the NanoNote will automatically turn off when this key is pressed. It shares a keycode with the Qi-button.
[edit] Function Keys
F1 - 282
F2 - 283
F3 - 284
F4 - 285
F5 - 286
F6 - 287
F7 - 288
F8 - 289
[edit] Top keyboard row
Q - 113
W - 119
E - 101
R - 114
T - 116
Y - 121
U - 117
I - 105
O - 111
P - 112
[edit] Second keyboard row
A - 97
S - 115
D - 100
F - 102
G - 103
H - 104
J - 106
K - 107
L - 108
Backspace - 8
[edit] Third keyboard row
Escape - 27
Z - 122
X - 120
C - 99
V - 118
B - 98
N - 110
M - 109
Equals - 61
Enter/Return - 13
[edit] Fourth keyboard row
Tab - 9
Caps Lock - 301
Backslash - 92 -
Apostrophe - 180
Comma - 44
Period - 46
Slash - 47
[edit] Bottom keyboard row
Shift - 304
Alt - 308
Function-Key - 306
Altgr - 307
Space - 32
Qi-button - 0
Control - 305
[edit] Arrow keys and Volume keys
Up - 273
Down - 274
Left - 276
Right - 275
Volume Up - 292
Volume Down - 293