Skip to content
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

Support for Raw HID on Linux/OSX and chrome.hid #1669

Merged
merged 1 commit into from
Sep 6, 2017

Conversation

wilba
Copy link
Contributor

@wilba wilba commented Sep 2, 2017

It's important that hosts can identify the Raw HID interface (HID device) separate from the others, like keyboard, mouse, etc. On Windows, it has been done with "usage" and "usage page" IDs, but this isn't possible on other platforms. Switching to using the HID interface number, and forcing it constant regardless of other compile flags, gives a hard reference to that interface for all platforms.

The change is just a reordering of the interface number assignments so the Raw HID is always second (if enabled)... Seems fine for me on Windows.

@skullydazed skullydazed merged commit 85c3c59 into qmk:master Sep 6, 2017
@skullydazed
Copy link
Member

Awesome! Thanks!

@wilba wilba deleted the raw_hid branch September 30, 2018 16:28
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.

2 participants