-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
standardize HID feature report handling between OSes
apparently, even with hidapi set/get feature report behavior can be different on each OS and depend on the kernel. Specifically, Windows likes to manipulate the buffer if a Report ID is present, resulting in broken command packets. Set the Report ID to always 0 to go around this
- Loading branch information
Showing
1 changed file
with
19 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters