www.keyestudio.com
ps2x.enableRumble();
ps2x.enablePressures();
ps2x.read_gamepad(false, vibrate);
vibrate = ps2x.Analog(PSAB_BLUE);
if (ps2x.NewButtonState())
off, or off to on)
{
if(ps2x.Button(PSB_R3))
{
tt=0;
i=0;
break;
}
}
//*********************************************************
}
}
if(ps2x.Button(PSB_L2))
Serial.println("L2 pressed");
if(ps2x.Button(PSB_R2))
Serial.println("R2 pressed");
//enable rumble vibration motors
//will be TRUE if any button changes state (on to
238
Need help?
Do you have a question about the 4DOF and is the answer not in the manual?
Questions and answers