The above video goes away if you are a member and logged in, so log in now!
PS2 Pad Protocol –
Does anyone know the communication protocol for a PS2 gamepad?
I'm trying to access the pressure sensors on the PS2 controller however the documentation available on the web only covers the protocol for DUAL SHOCK/ANALOG PS1 controllers (ID 0x73).
As far as I can tell 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).
Unfortunatley information regarding this command is pretty thin.
Is anyone able to help or point me in the right direction in accessing the PS2 controller?
or you could look at /usr/doc/Playstation 2/ps2pad_en.txt
I'd attach it, but its probably (C)opyrighted
but this particular part of the link should help u:
To read how hard the L1 button on pad 0 is being pressed (assuming that pad_init was called with the PAD_INIT_ANALOGUE and PAD_INIT_PRESSURE flags set):
float cross_pressure = pad.pressures[PAD_PCROSS];
Thanks Razielim that site was a great help.
By any chance does ps2pad_en.txt describe the command definitions of the pad protocol (e.g. hex value of PAD_INIT_ANALOGUE and their like) and when/how they should be used?