Quote:
Originally Posted by Patrick Chiang
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.