Skip to content

Added definition for full Keyboard usage values #1

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Danjovic
Copy link
Owner

@Danjovic Danjovic commented Feb 3, 2016

Added definition for remaining keys from USB HID Usage Tables Version 1.12 Chapter 10, Table 12
For example:

...
#define KEY_MUTE              0x7F     // Keyboard Mute
#define KEY_VOLUME_UP         0x80     // Keyboard Volume Up
#define KEY_VOLUME_DOWN       0x81     // Keyboard Volume Down
#define KEY_LOCK_CAPS_LOCK    0x82     // Keyboard Locking Caps Lock
#define KEY_LOCK_NUM_LOCK     0x83     // Keyboard Locking Num Lock
#define KEY_LOCK_SCR_LOCK     0x84     // Keyboard Locking Scroll Lock
...

Added definition for remaining keys from USB HID specification, for example:
...
#define KEY_MUTE              0x7F     // Keyboard Mute
#define KEY_VOLUME_UP         0x80     // Keyboard Volume Up
#define KEY_VOLUME_DOWN       0x81     // Keyboard Volume Down
#define KEY_LOCK_CAPS_LOCK    0x82     // Keyboard Locking Caps Lock
#define KEY_LOCK_NUM_LOCK     0x83     // Keyboard Locking Num Lock
#define KEY_LOCK_SCR_LOCK     0x84     // Keyboard Locking Scroll Lock
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant