|
Re: Programming joysticks
the inputs from the joysticks are held in a range of variables (actually aliases), set up in ifi_aliases.h:
for instance, the x-axis of joystick one is p1_x
if you want direct joystick-to-pwm control, just use something like the following line:
pwm01 = p1_x;
|