View Single Post
  #2   Spotlight this post!  
Unread 01-02-2011, 18:13
sjspry sjspry is offline
Registered User
FRC #1984
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Kansas
Posts: 125
sjspry has a spectacular aura aboutsjspry has a spectacular aura aboutsjspry has a spectacular aura about
Re: Joystick POV hat button?

They should show up as axis (even though they're just momentary switches). They will either give you -1 or 1 (the Joystick class gives you -1..1, right?).

First two axis should be x and y, third will be the throttle, and if I remember correctly from when I was playing around with my 3D Pro (before it broke), the hat axis should be 4 an 5 (or 3 and 4, if the Joystick class starts enumeration at 0).
Reply With Quote