Skip to content

Commit a7b4ff9

Browse files
committed
keyboardModifiers: add notes to ambiguous keys
In Language/Functions/USB/Keyboard/keyboardModifiers.adoc, add explanatory notes for keys with ambiguous names: - KEY_{LEFT,RIGHT}_GUI are the OS logo keys, "command" on Mac - KEY_{LEFT,RIGHT}_ALT is "option" on Mac - KEY_RIGHT_ALT can be labeled "AltGr".
1 parent 42081fa commit a7b4ff9

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Language/Functions/USB/Keyboard/keyboardModifiers.adoc

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@ The available macros are listed below:
3636
These are eight keys within the alphanumeric cluster of the keyboard that are meant to modify the normal action of another key when the two are pressed in combination. Whereas Shift and AltGr are used to access extra characters, the others are mostly used for keyboard shortcuts.
3737

3838
|===
39-
|Key |Hexadecimal value |Decimal value
40-
41-
|KEY_LEFT_CTRL |0x80 |128
42-
|KEY_LEFT_SHIFT |0x81 |129
43-
|KEY_LEFT_ALT |0x82 |130
44-
|KEY_LEFT_GUI |0x83 |131
45-
|KEY_RIGHT_CTRL |0x84 |132
46-
|KEY_RIGHT_SHIFT |0x85 |133
47-
|KEY_RIGHT_ALT |0x86 |134
48-
|KEY_RIGHT_GUI |0x87 |135
39+
|Key |Hexadecimal value |Decimal value |Notes
40+
41+
|KEY_LEFT_CTRL |0x80 |128 |
42+
|KEY_LEFT_SHIFT |0x81 |129 |
43+
|KEY_LEFT_ALT |0x82 |130 |option (⌥) on Mac
44+
|KEY_LEFT_GUI |0x83 |131 |OS logo, command (⌘) on Mac
45+
|KEY_RIGHT_CTRL |0x84 |132 |
46+
|KEY_RIGHT_SHIFT |0x85 |133 |
47+
|KEY_RIGHT_ALT |0x86 |134 |also AltGr, option (⌥) on Mac
48+
|KEY_RIGHT_GUI |0x87 |135 |OS logo, command (⌘) on Mac
4949
|===
5050

5151
[float]

0 commit comments

Comments
 (0)