Skip to content

consumer control code: update link to HID usage tables #55

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 3 commits into from
Jan 18, 2021
Merged
Show file tree
Hide file tree
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
4 changes: 1 addition & 3 deletions adafruit_hid/consumer_control_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ class ConsumerControlCode:
"""USB HID Consumer Control Device constants.

This list includes a few common consumer control codes from
http://www.usb.org/developers/hidpage/Hut1_12v2.pdf#page=75.

*New in CircuitPython 3.0.*
https://www.usb.org/sites/default/files/hut1_21_0.pdf#page=118.
"""

# pylint: disable-msg=too-few-public-methods
Expand Down
2 changes: 1 addition & 1 deletion adafruit_hid/keycode.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Keycode:
"""USB HID Keycode constants.

This list is modeled after the names for USB keycodes defined in
https://www.usb.org/sites/default/files/documents/hut1_12v2.pdf#page=53.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pasted https://www.usb.org/sites/default/files/documents/hut1_12v2.pdf#page=53 and it went to the document and page I expected (screenshot below). Could you check this again?

image

https://usb.org/sites/default/files/hut1_21_0.pdf#page=83.
This list does not include every single code, but does include all the keys on
a regular PC or Mac keyboard.

Expand Down