Thread
:
How to use a Joystick
View Single Post
#
2
11-01-2012, 18:07
Djur
WPILib
AKA: Sam Carlberg
no team
Team Role: Mentor
Join Date: Jan 2011
Rookie Year: 2009
Location: Massachusetts
Posts: 182
Re: How to use a Joystick
Joystick j = new Joystick(final int usbPort);
usbPort is the USB slot the joystick is plugged into on the laptop you're using.
__________________
WPILib dev (RobotBuilder, SmartDashboard, GRIP)
Djur
View Public Profile
Find all posts by Djur
Find CD-Media Photos by Djur
Find CD-Media Papers by Djur