We want to use them as a way of controlling the max power, but we have no idea how to get data from them. Anyone know?0
It’s axis 3.
Yes. It is axis 3 on your joystick.
All you have to do is to unbundle the joystick and then “select” axis 3 from the context menu on the unbundle by name.
Important! Check the value on the scroll wheel as it could go past 1 or -1 which is really bad for motor control (since they only go to these values)
Huh. Not sure how I missed that one. Thanks!
If you take the value of Axis 3 and add 1 then divide by 2, it changes the scale from -1, 1] to [0, 1]. Just a helpful hint if you wanted to use it to control one direction of a motor.