Skip to content

Correct errors and omissions in keycode docstrings #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 24, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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