-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib/usb
: add functionality for multi-bit dynamic values in HID reports
This is required for correct parsing of USB mouse reports, and requires us to take into account logical min/max to work out if a value is signed, and then correctly handle sign extension etc. to decode values correctly.
- Loading branch information
1 parent
6ac984a
commit 328fd8e
Showing
2 changed files
with
106 additions
and
36 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
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