You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the default 6 axis 32 buttons and 1 hat joystick I realized the second slider did not work correctly as 1 slider showed up as a simple axis and the second slider didn't show up at all.
I solved it by finding what seems to be a typo mistake in usb_desc.c (line 281) when defining the joystick interface.
joystick_report_desc should be defined as:
When using the default 6 axis 32 buttons and 1 hat joystick I realized the second slider did not work correctly as 1 slider showed up as a simple axis and the second slider didn't show up at all.
I solved it by finding what seems to be a typo mistake in usb_desc.c (line 281) when defining the joystick interface.
joystick_report_desc should be defined as:
Replacing
0x09, 0x36, // Usage (Slider)
by
0x09, 0x37, // Usage (Slider)
in the second slider.I used the following basic code to send data and jtst-gtk to visualise the joystick.
This behaviour appeared under linux, ubuntu 18.04 with teensy card 3.2 but I do not believe it is important here.
The text was updated successfully, but these errors were encountered: