mirror of
https://github.com/mfulz/qmk_firmware.git
synced 2025-07-19 03:45:18 +02:00
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
|
#endif
|
||||||
|
|
||||||
#ifdef JOYSTICK_ENABLE
|
#ifdef JOYSTICK_ENABLE
|
||||||
#if JOYSTICK_AXES_COUNT == 0 && JOYSTICK_BUTTON_COUNT == 0
|
# if JOYSTICK_AXES_COUNT == 0 && JOYSTICK_BUTTON_COUNT == 0
|
||||||
#error Need at least one axis or button for joystick
|
# error Need at least one axis or button for joystick
|
||||||
#endif
|
# endif
|
||||||
const USB_Descriptor_HIDReport_Datatype_t PROGMEM JoystickReport[] = {
|
const USB_Descriptor_HIDReport_Datatype_t PROGMEM JoystickReport[] = {
|
||||||
HID_RI_USAGE_PAGE(8, 0x01), // Generic Desktop
|
HID_RI_USAGE_PAGE(8, 0x01), // Generic Desktop
|
||||||
HID_RI_USAGE(8, 0x04), // Joystick
|
HID_RI_USAGE(8, 0x04), // Joystick
|
||||||
|
Loading…
x
Reference in New Issue
Block a user