Skip to content

Commit 42081fa

Browse files
committed
keyboardModifiers: split keys into smaller groups
Language/Functions/USB/Keyboard/keyboardModifiers.adoc contains a long list of macros corresponding to keys. Make this list easier to parse by organizing the keys into meaningful groups.
1 parent 1b6b2cb commit 42081fa

File tree

1 file changed

+29
-9
lines changed

1 file changed

+29
-9
lines changed

Language/Functions/USB/Keyboard/keyboardModifiers.adoc

Lines changed: 29 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,24 +52,44 @@ These are eight keys within the alphanumeric cluster of the keyboard that are me
5252
=== Special keys
5353
These are all the keys that do not match a printable ASCII character and are not modifiers, including all keys outside the alphanumeric cluster.
5454

55+
[float]
56+
==== Within the alphanumeric cluster
57+
5558
|===
5659
|Key |Hexadecimal value |Decimal value
5760

58-
|KEY_UP_ARROW |0xDA |218
59-
|KEY_DOWN_ARROW |0xD9 |217
60-
|KEY_LEFT_ARROW |0xD8 |216
61-
|KEY_RIGHT_ARROW |0xD7 |215
62-
|KEY_BACKSPACE |0xB2 |178
6361
|KEY_TAB |0xB3 |179
62+
|KEY_CAPS_LOCK |0xC1 |193
63+
|KEY_BACKSPACE |0xB2 |178
6464
|KEY_RETURN |0xB0 |176
65-
|KEY_ESC |0xB1 |177
65+
|===
66+
67+
[float]
68+
==== Navigation cluster
69+
70+
|===
71+
|Key |Hexadecimal value |Decimal value
72+
6673
|KEY_INSERT |0xD1 |209
6774
|KEY_DELETE |0xD4 |212
68-
|KEY_PAGE_UP |0xD3 |211
69-
|KEY_PAGE_DOWN |0xD6 |214
7075
|KEY_HOME |0xD2 |210
7176
|KEY_END |0xD5 |213
72-
|KEY_CAPS_LOCK |0xC1 |193
77+
|KEY_PAGE_UP |0xD3 |211
78+
|KEY_PAGE_DOWN |0xD6 |214
79+
|KEY_UP_ARROW |0xDA |218
80+
|KEY_DOWN_ARROW |0xD9 |217
81+
|KEY_LEFT_ARROW |0xD8 |216
82+
|KEY_RIGHT_ARROW |0xD7 |215
83+
|===
84+
85+
[float]
86+
==== Escape and function keys
87+
The library can simulate function keys up to F24, even though few keyboards have the F13… F24 keys.
88+
89+
|===
90+
|Key |Hexadecimal value |Decimal value
91+
92+
|KEY_ESC |0xB1 |177
7393
|KEY_F1 |0xC2 |194
7494
|KEY_F2 |0xC3 |195
7595
|KEY_F3 |0xC4 |196

0 commit comments

Comments
 (0)