-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #207 from martinling/hid-report
Add decoding of HID report descriptors
- Loading branch information
Showing
24 changed files
with
538 additions
and
3 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
|
||
○ Input report #3 (2 bytes): | ||
├── Volume Increment: byte 1 bit 0 | ||
├── Volume Decrement: byte 1 bit 1 | ||
├── Play/Pause: byte 1 bit 2 | ||
├── Voice Command: byte 1 bit 3 | ||
├── Scan Previous Track: byte 1 bit 4 | ||
├── Scan Next Track: byte 1 bit 5 | ||
└── Padding: byte 1 bits 6-7 | ||
|
||
○ Input report #5 (17 bytes): | ||
├── Consumer usage 0x00: byte 1 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 2 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 3 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 4 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 5 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 6 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 7 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 8 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 9 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 10 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 11 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 12 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 13 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 14 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 15 (values 0 to 1) | ||
└── Consumer usage 0x00: byte 16 (values 0 to 1) | ||
|
||
○ Output report #4 (39 bytes): | ||
├── Consumer usage 0x00: byte 1 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 2 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 3 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 4 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 5 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 6 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 7 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 8 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 9 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 10 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 11 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 12 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 13 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 14 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 15 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 16 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 17 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 18 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 19 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 20 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 21 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 22 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 23 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 24 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 25 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 26 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 27 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 28 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 29 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 30 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 31 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 32 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 33 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 34 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 35 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 36 (values 0 to 1) | ||
├── Consumer usage 0x00: byte 37 (values 0 to 1) | ||
└── Consumer usage 0x00: byte 38 (values 0 to 1) |
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
○ Input report (4 bytes): | ||
├── Volume Increment: byte 0 bit 0 | ||
├── Volume Decrement: byte 0 bit 1 | ||
├── Mute: byte 0 bit 2 | ||
├── Consumer usage 0x00: byte 0 bit 3 | ||
├── Hook Switch: byte 0 bit 4 | ||
├── Consumer usage 0x00: byte 0 bit 5 | ||
├── Consumer usage 0x00: byte 0 bit 6 | ||
├── Consumer usage 0x00: byte 0 bit 7 | ||
├── Consumer usage 0x00: byte 1 | ||
├── Consumer usage 0x00: byte 2 | ||
└── Consumer usage 0x00: byte 3 | ||
|
||
○ Output report (4 bytes): | ||
├── Consumer usage 0x00: byte 0 | ||
├── Consumer usage 0x00: byte 1 | ||
├── Consumer usage 0x00: byte 2 | ||
└── Consumer usage 0x00: byte 3 |
Binary file not shown.
Oops, something went wrong.