![]() |
How do we get the scroll wheels (behind buttons 8 and 9) on the attack3 to interface?
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
|
Re: How do we get the scroll wheels (behind buttons 8 and 9) on the attack3 to interf
It's axis 3.
|
Re: How do we get the scroll wheels (behind buttons 8 and 9) on the attack3 to interf
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) |
Re: How do we get the scroll wheels (behind buttons 8 and 9) on the attack3 to interf
Huh. Not sure how I missed that one. Thanks! :D
|
Re: How do we get the scroll wheels (behind buttons 8 and 9) on the attack3 to interf
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. :)
|
| All times are GMT -5. The time now is 11:31. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi