You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
0 commit comments