Page 1 of 1

PS2 Analog Mode

Posted: Thu Apr 08, 2004 6:29 am
by ThePaper
Does anyone know the communication protocol for a PS2 gamepad?

I'm trying to access the pressure sensors on my PS2 controller however the documentation available on the web only covers the protocol for DUAL SHOCK/ANALOG PS1 controllers (ID 0x73).

I'm believe that the PS2 requests the activation of the pressure sensors on the X 0 [] /\ ... buttons with a separate command because if left to its own devices a PS2 contoller will ID itself as a DUALSHOCK/ANALOG controller and return data as if it was a PS1 controller (only provides analog data on the left right joysticks).

Hence their must be a separate command issued from the PS2 to activate the remaining analog buttons.

Is anyone able to help or point me in the right direction in accessing the PS2 controller?

Thxs.

Posted: Thu Apr 08, 2004 9:55 am
by Drakonite
You have to set the controller into analog mode. I can't remember how off the top of my head but there is an example in ps2lib that shows.

Posted: Thu Apr 08, 2004 10:10 am
by mrbrown
He wants the hardware protocol re: analog mode, so the ps2lib sample won't help him much.

However ... Drakonite, maybe the sio2log irx should make it into ps2drv?