| View previous topic :: View next topic |
| Author |
Message |
ThePaper
Joined: 08 Apr 2004 Posts: 1 Location: England
|
Posted: Thu Apr 08, 2004 6:29 am Post subject: PS2 Analog Mode |
|
|
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. |
|
| Back to top |
|
 |
Drakonite Site Admin

Joined: 17 Jan 2004 Posts: 989
|
Posted: Thu Apr 08, 2004 9:55 am Post subject: |
|
|
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. _________________ Shoot Pixels Not People!
Makeshift Development |
|
| Back to top |
|
 |
mrbrown
Joined: 17 Jan 2004 Posts: 1536
|
Posted: Thu Apr 08, 2004 10:10 am Post subject: |
|
|
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? |
|
| Back to top |
|
 |
|