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:
1 parent
7cac5e22d7
commit
b3aaffb792
7 files changed
+25
-20
No files matched your search
@@ -72,6 +72,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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user