Quote:
Originally Posted by Mike AA
But you have to remap what axis you are reading.
|
In Java or C++,,,, How do you do the remappings ?
I'm not quite getting how to read the joysticks with the WPI libs.
EDIT: I found the following in another thread.
Use controller.getRawAxis(int axis)
The axis numbers are below:
Left Stick:
X - 1
Y - 2
Right Stick:
X - 3
Y - 4
Triggers(These are one axis. They are sitting at zero when neither trigger is pressed)
Axis 5