Skip to content

Commit 7efdc17

Browse files
authored
Merge pull request #3 from dhalbert/master
Correct errors and omissions in keycode docstrings
2 parents 83b3b63 + 7984f77 commit 7efdc17

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

adafruit_hid/keycode.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ class Keycode:
209209
"""Keypad ``\\`` and ``|`` (Non-US)"""
210210

211211
APPLICATION = 0x65
212-
"""Application (104-key keyboard)"""
212+
"""Application. Also known as the Menu key (Windows)."""
213213
POWER = 0x66
214214
"""Power (Mac)"""
215215
KEYPAD_EQUALS = 0x67
@@ -240,19 +240,19 @@ class Keycode:
240240
LEFT_ALT = 0xE2
241241
"""Alt modifier left of the spacebar."""
242242
ALT = LEFT_ALT
243-
"""Alias for LEFT_ALT."""
243+
"""Alias for LEFT_ALT. Alt is also known as Option (Mac)."""
244244
LEFT_GUI = 0xE3
245-
"""GUI modifier left of the spacebar."""
245+
"""GUI modifier left of the spacebar."""
246246
GUI = LEFT_GUI
247-
"""Alias for LEFT_GUI."""
247+
"""Alias for LEFT_GUI. GUI is also known as the Windows key, Command (Mac), or Meta."""
248248
RIGHT_CONTROL = 0xE4
249249
"""Control modifier right of the spacebar."""
250250
RIGHT_SHIFT = 0xE5
251251
"""Shift modifier right of the spacebar."""
252252
RIGHT_ALT = 0xE6
253253
"""Alt modifier right of the spacebar."""
254254
RIGHT_GUI = 0xE7
255-
"""GUI modifier right of the spacebar (also known as the Windows key, Option (Mac), or Meta)."""
255+
"""GUI modifier right of the spacebar."""
256256

257257
@classmethod
258258
def modifier_bit(cls, keycode):

0 commit comments

Comments
 (0)