
11-01-2015, 19:12
|
 |
 |
 |
Registered User
 FRC #0330 (Beachbots)
Team Role: Engineer
|
|
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,572
|
|
|
Re: Regarding getPOV()
Quote:
Originally Posted by tStano
Disclaimer: everything i say is for an xBox controller.
When I was trying to get a map of the button and axis numbers yesterday, I found that the dPad wasn't an axis or a button and the triggers were now separate axes. In the past, both triggers had been considered 1 axis, and one added to a value and the other decremented it. In the past, we've used axis for the dPad, but it only worked left and right. Here's hoping this new implementation will work for up and down too. When I saw the dPad didn't work, I assumed it just didn't work, I didn't try getPOV(), because I don't know what a POV was. I'll see if i can figure it out tomorrow!
|
Have you looked at the display on the USB tab of the driver station? It makes it much easier to find out how things are mapped.
|