View Single Post
  #2   Spotlight this post!  
Unread 07-02-2013, 16:30
The_Colonel The_Colonel is offline
Registered User
FRC #4456
 
Join Date: Feb 2013
Location: Washington, DC
Posts: 4
The_Colonel is an unknown quantity at this point
Re: Help programming joystick buttons

There is a function called getButton() that allows you to use the trigger and top button, and one called getRawButton() that works for the rest of the buttons by number. This page should help you get a complete understanding of the joystick, the buttons, and the rest of the code for the robot.

http://www.wbrobotics.com/javadoc/ed...ge_description
Reply With Quote