View Single Post
  #4   Spotlight this post!  
Unread 03-02-2008, 14:37
tseres's Avatar
tseres tseres is offline
obsessed with FIRST...
FRC #1565 (Think Tank Tech)
Team Role: Leadership
 
Join Date: Apr 2007
Rookie Year: 2007
Location: Cambridge, ON
Posts: 305
tseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of light
Re: Programing joystick buttons

ok, i'll assume you're using port 1 on the operator interface (OI). just because i'm not sure what you know up to this point (and who's reading) i'll just give a brief intro.

as you know, the port your joystick is plugged into is referrred to as pX_something, so it will be p1_.....

the analog outputs are

p1_y, the y-axis,
p1_x, the x-axis,
p1_wheel, p1_aux ...these are not used as far as i know on the KOP joysticks (possibly the hat on the top?), but they ARE used with the USB ckicklet if you're using that....

now, the analog buttons are:
p1_sw_trig, the trigger,
p1_sw_top, one of the buttons, i'm not sure which, as with
p1_sw_aux1 and p1_sw_aux2.

that's about it!
__________________