|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#5
|
||||
|
||||
|
Re: Logitech Controller Programming
We are using the logitech F310.
left Y axis is Axis 2, right Y axis is Axis 5 Code:
Joystick joy1 = new Joystick(1); // create a joystick on USB port 1 (configured through driverstation) joy1.getRawAxis(2); //this will return the left stick Y value joy1.getRawAxis(5); //this will return the right stick Y value |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|