Skip to content

Commit

Permalink
Merge pull request #3 from dhalbert/master
Browse files Browse the repository at this point in the history
Correct errors and omissions in keycode docstrings
  • Loading branch information
tannewt authored May 24, 2017
2 parents 83b3b63 + 7984f77 commit 7efdc17
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions adafruit_hid/keycode.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ class Keycode:
"""Keypad ``\\`` and ``|`` (Non-US)"""

APPLICATION = 0x65
"""Application (104-key keyboard)"""
"""Application. Also known as the Menu key (Windows)."""
POWER = 0x66
"""Power (Mac)"""
KEYPAD_EQUALS = 0x67
Expand Down Expand Up @@ -240,19 +240,19 @@ class Keycode:
LEFT_ALT = 0xE2
"""Alt modifier left of the spacebar."""
ALT = LEFT_ALT
"""Alias for LEFT_ALT."""
"""Alias for LEFT_ALT. Alt is also known as Option (Mac)."""
LEFT_GUI = 0xE3
"""GUI modifier left of the spacebar."""
"""GUI modifier left of the spacebar."""
GUI = LEFT_GUI
"""Alias for LEFT_GUI."""
"""Alias for LEFT_GUI. GUI is also known as the Windows key, Command (Mac), or Meta."""
RIGHT_CONTROL = 0xE4
"""Control modifier right of the spacebar."""
RIGHT_SHIFT = 0xE5
"""Shift modifier right of the spacebar."""
RIGHT_ALT = 0xE6
"""Alt modifier right of the spacebar."""
RIGHT_GUI = 0xE7
"""GUI modifier right of the spacebar (also known as the Windows key, Option (Mac), or Meta)."""
"""GUI modifier right of the spacebar."""

@classmethod
def modifier_bit(cls, keycode):
Expand Down

0 comments on commit 7efdc17

Please sign in to comment.