View Single Post
  #2   Spotlight this post!  
Unread 19-04-2014, 21:49
otherguy's Avatar
otherguy otherguy is offline
sparkE
AKA: James
FRC #2168 (The Aluminum Falcons)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: CT
Posts: 429
otherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to behold
Re: Joystick POV Hat Switch code

I don't have a joystick with a hat style button on it, nor do I have hardware to test on...

I do have tested code that turns analog axis into buttons that can be used to trigger commands though...

Check out the JoystickAnalogButton class: https://gist.github.com/jcorcoran/5743806

Let me know if you have any questions. Good luck at champs.
__________________
http://team2168.org
Reply With Quote