Removed variable axis support from the HID_DESCRIPTOR_JOYSTICK() macro due to OS incompatibilities, replaced with fixed 3-axis joystick report structure.
This commit is contained in:
parent
7cac5e22d7
commit
b3aaffb792
7 changed files with 25 additions and 20 deletions
|
@ -59,6 +59,7 @@
|
|||
{
|
||||
int8_t X; /**< Current absolute joystick X position, as a signed 8-bit integer */
|
||||
int8_t Y; /**< Current absolute joystick Y position, as a signed 8-bit integer */
|
||||
int8_t Z; /**< Current absolute joystick Z position, as a signed 8-bit integer */
|
||||
uint8_t Button; /**< Bit mask of the currently pressed joystick buttons */
|
||||
} USB_JoystickReport_Data_t;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue