News:

FORUM UPDATE:  The email problem has been fixed, and emails should now be sent out immediately instead of queuing for days.

Main Menu

Dualshock2 controller protocole.

Started by Zou, September 27, 2008, 09:27:30 PM

Previous topic - Next topic

Zou

Hi

I would like to create a Dualsock2 to Xbox360 converter and I search some information on the internet but for the moment I only found this documentation and it's only for playstation 1 controllers. What about playstation 2 controller? Especially Dualshock2 who have full analogue boutton (except for Start and Select button)?

Thx for help :)

Zou

I found this but I d'ont know if it's correct. Someone can confirm?

Quote from:  http://playstation2-linux.com/forum/message.php?msg_id=47310 The ID for PS2 dual shock 2 controller is 0x79, which has 18 bytes data. They are: 2 bytes button status (up/down), 2 bytes right stick status (up/down, left/right), 2 bytes left stick status (up/down, left/right), 12 bytes button pressure value (00-ff, 12 buttons).

Blizzrad

#2
There is a great article HERE which describes the Dualshock2 protocol in detail with some nice annotated oscilloscope shots, and also includes code to read the controller with a PIC18F4550 microcontroller.

Zou

Owww! That's awesome Blizzrad! Big big thanx for this  :D

I'm directly going study this.

thx