I am using Pygame to get values from a Simraceway steering wheel, which is just seen as a joystick. There are three axes on the joystick -- one for steering, one for the left paddle, and one for the right paddle.
When I do the Pygame command get_numaxes()
, I correctly get back 3 axes. But when I do the command get_axis(1)
, which should return the value for the left paddle, I do not get the correct value. I do get the correct values for get_axis(0)
(the steering) and get_axis(2)
(the right paddle).
In Windows, the left paddle shows up as Z-rotation rather than a normal axis. I'm not sure if that has anything to do with it.
Why is get_axis(1)
not getting the position of the left paddle? Is there any program other than Pygame that will work better at getting a Z-rotation axis from this joystick, like Windows does?