Allow for overriding RAW endpoint usage page and ID. (#8834)
* Allow for overriding RAW endpoint usage page and ID. * Move usb_descriptor_common.h. * Docs update.
This commit is contained in:
@ -39,6 +39,7 @@
|
||||
#include "util.h"
|
||||
#include "report.h"
|
||||
#include "usb_descriptor.h"
|
||||
#include "usb_descriptor_common.h"
|
||||
|
||||
// clang-format off
|
||||
|
||||
@ -232,8 +233,8 @@ const USB_Descriptor_HIDReport_Datatype_t PROGMEM SharedReport[] = {
|
||||
|
||||
#ifdef RAW_ENABLE
|
||||
const USB_Descriptor_HIDReport_Datatype_t PROGMEM RawReport[] = {
|
||||
HID_RI_USAGE_PAGE(16, 0xFF60), // Vendor Defined
|
||||
HID_RI_USAGE(8, 0x61), // Vendor Defined
|
||||
HID_RI_USAGE_PAGE(16, RAW_USAGE_PAGE), // Vendor Defined
|
||||
HID_RI_USAGE(8, RAW_USAGE_ID), // Vendor Defined
|
||||
HID_RI_COLLECTION(8, 0x01), // Application
|
||||
// Data to host
|
||||
HID_RI_USAGE(8, 0x62), // Vendor Defined
|
||||
|
Reference in New Issue
Block a user