nfg.forums

NFG Forums => Controller Technic => Topic started by: Zou on September 27, 2008, 09:27:30 PM

Title: Dualshock2 controller protocole.
Post by: Zou on September 27, 2008, 09:27:30 PM
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 (http://www.gamesx.com/controldata/psxcont/psxcont.htm) 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 :)
Title: Re: Dualshock2 controller protocole.
Post by: Zou on September 27, 2008, 09:50:09 PM
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).
Title: Re: Dualshock2 controller protocole.
Post by: Blizzrad on September 29, 2008, 12:14:35 AM
There is a great article HERE (http://www.curiousinventor.com/guides/ps2) 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.
Title: Re: Dualshock2 controller protocole.
Post by: Zou on September 29, 2008, 12:51:15 AM
Owww! That's awesome Blizzrad! Big big thanx for this  :D

I'm directly going study this.

thx