Home Forums PS2X PlayStation 2 Controller Library Support Forum All buttons on controller sending "255" Reply To: All buttons on controller sending "255"

#1743
Bill
Member

If you want just on and off, you should not be looking at the analog values. There’s a seperate data call for the digital (on/off) values.

Use

ps2x.Button(PSB_PAD_LEFT)

Not

ps2x.Analog(PSAB_PAD_LEFT)