|
Re: How to use a Joystick
You are correct, now we use the classmate as the driver station however not much has changed. To create a joystick object you still would write;
Joystick driveStick = new Joystick(x); //where x is where the joystick is plugged in
And to check which is which, there is a tab (which I'm blanking on the name) on the driver station that allows to you see the currently plugged in joysticks and re-arrange the order of the joysticks.
|