View Single Post
  #8   Spotlight this post!  
Unread 26-02-2015, 14:22
AlDee AlDee is offline
Registered User
FRC #1099
 
Join Date: Mar 2011
Location: Connecticut
Posts: 31
AlDee is an unknown quantity at this point
Re: Change in buttons and axes sub vi's

Quote:
Originally Posted by jman4747 View Post
Don't matter. If your DS can see it than your computer can. All joysticks conform to a standard for USB devises called HID (Human Interface Devise). Mice, Keyboards, and joysticks fall under this and anything that can be recognized as an HID joystick devise you can follow Kevin Phan's advise to see the buttons/axis. We used this microprocessor before with custom buttons and even it can be seen as an HID joystick: https://www.pjrc.com/teensy/teensy31.html

The button/axis number you see corresponds to the element number for the array of buttons/axis you get out of the WPIlib joystick VI. Note when you go to program this the first element in an array and subsequently button #1 on the joystick will be the number zero. Things in programming count up starting at zero not one.
I'm planning to work on a custom controller using the teensy. Can you tell me, if there is any limit to the number of buttons or axis that the driver station will recognize? Did you have to do any additional programming to get it to work with the DS? Also, I'm curious as to how you mounted it. It doesn't look like there are any screw holes or any place to drill any either.
Reply With Quote