diff options
author | Ryan <fauxpark@gmail.com> | 2020-04-06 08:25:07 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-05 23:25:07 +0100 |
commit | ca91dc594bb011f06f2e13018e74b6fd91c07c84 (patch) | |
tree | 732a967fd58c648e0552439f835ab8a594ccf028 /tmk_core/protocol/vusb/vusb.h | |
parent | 26cb83b8c04029f8882f5d3f537c520dde17126e (diff) |
V-USB: Remove some stuff from usbconfig.h that should not be configurable (#8656)
* V-USB: Remove some stuff from usbconfig.h that should not be configurable
* Clean up some ifdefs
* And some more
* Even more
Diffstat (limited to 'tmk_core/protocol/vusb/vusb.h')
-rw-r--r-- | tmk_core/protocol/vusb/vusb.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/tmk_core/protocol/vusb/vusb.h b/tmk_core/protocol/vusb/vusb.h index 6d491266db..bb2a1726ef 100644 --- a/tmk_core/protocol/vusb/vusb.h +++ b/tmk_core/protocol/vusb/vusb.h @@ -87,23 +87,17 @@ typedef struct usbConfigurationDescriptor { usbConfigurationDescriptorHeader_t header; usbInterfaceDescriptor_t keyboardInterface; usbHIDDescriptor_t keyboardHID; -#ifdef USB_CFG_HAVE_INTRIN_ENDPOINT usbEndpointDescriptor_t keyboardINEndpoint; -#endif #if defined(MOUSE_ENABLE) || defined(EXTRAKEY_ENABLE) usbInterfaceDescriptor_t mouseExtraInterface; usbHIDDescriptor_t mouseExtraHID; -# ifdef USB_CFG_HAVE_INTRIN_ENDPOINT3 usbEndpointDescriptor_t mouseExtraINEndpoint; -# endif #elif defined(RAW_ENABLE) usbInterfaceDescriptor_t rawInterface; usbHIDDescriptor_t rawHID; -# ifdef USB_CFG_HAVE_INTRIN_ENDPOINT3 usbEndpointDescriptor_t rawINEndpoint; usbEndpointDescriptor_t rawOUTEndpoint; -# endif #endif } __attribute__((packed)) usbConfigurationDescriptor_t; @@ -112,6 +106,6 @@ typedef struct usbConfigurationDescriptor { host_driver_t *vusb_driver(void); void vusb_transfer_keyboard(void); -#if defined(RAW_ENABLE) +#ifdef RAW_ENABLE void raw_hid_task(void); #endif |