View Single Post
  #3   Spotlight this post!  
Unread 01-29-2011, 08:55 PM
Patrick Chiang Patrick Chiang is offline
Programming
FRC #3070 (Team Pronto)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Seattle
Posts: 162
Patrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to all
Re: Ps3/360 controller with robot programmed in Java

If you're having problems figuring out which axis/buttons on the controllers are which, go to Control Panel > Game Controllers.

Then, you select the game controller and click properties. Now, you can calibrate your device and see which axes is which number, and which button is which.

Hint: Look at the documentation for the Joystick class for more information on how to read Joystick inputs.
Reply With Quote