View Single Post
  #4   Spotlight this post!  
Unread 19-02-2004, 16:36
steven114 steven114 is offline
Programming Wizard and Team Captain
AKA: Steven Schlansker
FRC #0114 (Eaglestrike)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Los Altos, CA
Posts: 335
steven114 is a jewel in the roughsteven114 is a jewel in the roughsteven114 is a jewel in the rough
Send a message via AIM to steven114
Re: Joystick Variables

Quote:
Originally Posted by fred
We all know C, but we do have a question. We were mapping various functions to joystick buttons and we don't know what all of the joystick button variables are. We know "p1_sw_trig" and "p1_sw_top", but we don't know any other ones. I know this sounds sort of dumb, but if anyone could just post the variables here it would be appreciated. If they are declared anywhere in the program, if anyone could tell us where that is, it would be helpful.

-Fred
For last year's joysticks:

The other two button variables, aux1 and aux2, are not wired to the joystick. They will do nothing unless you build a custom circuit box. In the OI docs on the IFI website, they have fairly complete pinout diagrams which may help.

Last edited by steven114 : 20-02-2004 at 10:59. Reason: added last year's joysticks line