-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a boot_protocol parameter to the USBHIDKeyboard constructor. When true: 1. The USB interface descriptor will have an interface subclass of boot and and interface protocol of keyboard. This will cause some PC BIOS to send a a SET PROTOCOL BOOT request to the device. 2. The USB report descriptor will not have a report ID because boot protocol does not use report IDs. 3. When the host sends reports to the device, USBHIDKeyboard will accept a report ID of 0 instead of checking for HID_REPORT_ID_KEYBOARD(1). 4. When the device sends reports to the host, it will not send a report ID because boot protocol does not use report IDs. 5. Use endpoint address of 1 for input and output because some PC BIOS require it.
- Loading branch information
1 parent
c93bf11
commit 490a075
Showing
6 changed files
with
39 additions
and
15 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
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
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