mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-09-10 17:15:43 +00:00
Add descriptor class, subclass and protocol constants to the class drivers, modify all demos to use them where possible.
Move out private/internal host class driver constants to the common class driver headers, so that they can be used in the Low Level host mode demos. Ensure all demos, projects and bootloaders use the class driver constants where possible to minimise code repetition.
This commit is contained in:
@@ -53,7 +53,7 @@ USB_ClassInfo_HID_Host_t Keyboard_HID_Interface =
|
||||
.DataOUTPipeNumber = 2,
|
||||
.DataOUTPipeDoubleBank = false,
|
||||
|
||||
.HIDInterfaceProtocol = HID_BOOTP_NonBootProtocol,
|
||||
.HIDInterfaceProtocol = HID_CSCP_NonBootProtocol,
|
||||
|
||||
.HIDParserData = &HIDReportInfo
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user