View Single Post
  #7   Spotlight this post!  
Unread 20-02-2005, 13:13
f00fc7c8 f00fc7c8 is offline
Registered User
#1585
 
Join Date: Feb 2005
Location: Zip Code 14548-9759
Posts: 1
f00fc7c8 is an unknown quantity at this point
Re: Joystick Hat button

Quote:
Originally Posted by ten3brousone
a quick question. for the joystick hat button on top theres 4 ways you can push it. any idea what values the bot recieves when you go forward, left, down, right, on the hat button? 1, 2, 3, 4? or are they each a diff variable. thanks for help
I tested this out the other day using the IFI Dashboard. The POV hatswitch IS wired by default, and you can read it in the variable pFOO_wheel, where FOO is the port number to which your joystick is connected.

I'm afraid I don't remember the precise values, though. Sorry.