Quote:
Originally Posted by DCRich
Where are the Javadocs for using the Logitec F310 Gamepad or the XBox game controller? I find instructions on a 3-axis (X Y Z) Joystick but not for the 2-stick gamepad.
For those whose standard reply is to connect to DriverStation USB display - we did that and the right controller of the game pad showed X and Y motion and the left controller did nothing. since the display was identified as Joystick 1 and Joystick 2 it was not looking for a second control stick on the same port.
So how do we access the second controller?
|
You treat it just like a joystick, but use the getRawAxis(int axis) method to access each axis.