|
Re: How To program the second joystick?
It depends on what are you using to program, but in c++ our code is :
class: public
{
JoyStick *RightStick, *LeftStick;
}
Public:
{
RightStick = new Joystick (1);
LeftStick = new Joystick (2);
}
and to program the trigger:
if (LeftStick or RightStick-> GetTrigger())
Device->Set()
(if this is any help for you ok!)
Last edited by krudeboy51 : 11-03-2010 at 15:48.
|