View Single Post
  #7   Spotlight this post!  
Unread 31-01-2015, 21:29
sau sau is offline
Registered User
FRC #2220 (Blue Twilight)
Team Role: Programmer
 
Join Date: Sep 2014
Rookie Year: 2012
Location: Eagan
Posts: 8
sau is an unknown quantity at this point
Re: Joystick GetRawButton not working

YES!!!! Our team is also having problems with programming our Saitek X52. We have tried for the last two weeks to get our joystick to work. getRawAxis() works fine, but getRawButton() does not. We have not tried getRawTrigger(). We have also tried DriverStation.getInstance(), and we can pull the axis value directly from the driverstation, but are not able to with the buttons.

Our driver station does seem to recognize the buttons being pressed, as they light up when pressed, but they always return either a true or a false boolean.

We have tried the (more or less) same code with our Xbox controllers, and the buttons do work. Maybe it is just impossible to use the X52's?
Reply With Quote