|
Re: Programing joystick buttons
it mostly depends on which controler you are using, if your using controler 1:
p1_sw_trig
p1_sw_top
p1_sw_aux1
p1_sw_aux2
to program the buttons is acutally very simple
pwm01 = 127
if (p1_sw_trig == 1)
{pwm01 = 150}
this program says "while controler 1's trigger is being pressed, pwm01 will move at 150"
this is the way i was taught anyway, the other ways will work also
__________________
ok, who ate my hot pocket?
|