forked from mfulz_github/qmk_firmware
Update tmk_core/protocol/usb_descriptor.c
Co-Authored-By: Ryan <fauxpark@gmail.com>
This commit is contained in:
parent
c6c01f9eff
commit
34bedc3787
|
@ -279,9 +279,9 @@ const USB_Descriptor_HIDReport_Datatype_t PROGMEM ConsoleReport[] = {
|
|||
#endif
|
||||
|
||||
#ifdef JOYSTICK_ENABLE
|
||||
#if JOYSTICK_AXES_COUNT == 0 && JOYSTICK_BUTTON_COUNT == 0
|
||||
#error Need at least one axis or button for joystick
|
||||
#endif
|
||||
# if JOYSTICK_AXES_COUNT == 0 && JOYSTICK_BUTTON_COUNT == 0
|
||||
# error Need at least one axis or button for joystick
|
||||
# endif
|
||||
const USB_Descriptor_HIDReport_Datatype_t PROGMEM JoystickReport[] = {
|
||||
HID_RI_USAGE_PAGE(8, 0x01), // Generic Desktop
|
||||
HID_RI_USAGE(8, 0x04), // Joystick
|
||||
|
|
Loading…
Reference in New Issue