diff options
author | Nick Brassel <[email protected]> | 2020-05-21 20:31:42 +1000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-05-21 20:31:42 +1000 |
commit | d1df576ece12a7627a18e1581eed482cda2dbed5 (patch) | |
tree | 8c8415ba527681ed9d453689c435c6f06a6daa64 /tmk_core/protocol/usb_descriptor.c | |
parent | 83ebbf57b349552038d9d9af994eb2e9528ecbc5 (diff) | |
download | qmk_firmware-d1df576ece12a7627a18e1581eed482cda2dbed5.tar.gz qmk_firmware-d1df576ece12a7627a18e1581eed482cda2dbed5.zip |
Allow for overriding RAW endpoint usage page and ID. (#8834)0.8.174
* Allow for overriding RAW endpoint usage page and ID.
* Move usb_descriptor_common.h.
* Docs update.
Diffstat (limited to 'tmk_core/protocol/usb_descriptor.c')
-rw-r--r-- | tmk_core/protocol/usb_descriptor.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tmk_core/protocol/usb_descriptor.c b/tmk_core/protocol/usb_descriptor.c index f2b91b099e..8c71dd1dda 100644 --- a/tmk_core/protocol/usb_descriptor.c +++ b/tmk_core/protocol/usb_descriptor.c @@ -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 |