View Single Post
  #4   Spotlight this post!  
Unread 01-30-2011, 03:00 PM
architek501 architek501 is offline
Registered User
FRC #0501
 
Join Date: Jan 2011
Location: New Hampshire
Posts: 3
architek501 is an unknown quantity at this point
Re: Ps3/360 controller with robot programmed in Java

Quote:
Originally Posted by Patrick Chiang View Post
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.
My edits are getting a bit excessive, sorry. I'm in a situation similar to OP's, and I wanted to get the D-Pad working properly.

I thought I had found the solution to my problem. I just need to find out what the "Point of View Hat" (The D-Pad) is according to the WPI Libraries.

I know that Left-Right movement is read as Axis 6, but Up-Down movement is either not recognized by the Joystick class (being an axis higher than 6), or something else that I'm not thinking of.

Last edited by architek501 : 01-30-2011 at 03:20 PM. Reason: Re-stated problem. Getting frustrated.
Reply With Quote