There is already a successfully finished emulation PSX Controller project, using the MC68HC11 controller, but the source file for the controller is missing...:( , everything else is available.
See this page:
http://www.gamesx.com/controldata/psxcont/psxcont.htm (http://www.gamesx.com/controldata/psxcont/psxcont.htm)
or this for its original
http://home.quicknet.com.au/andrewm/psx/psxcont/index.html (http://home.quicknet.com.au/andrewm/psx/psxcont/index.html)
Although the source is free, an e-mail to him must be send tell him what a great guy he is...., and unfortunately all my emails to him come returned <_<
Maybe someone has the source.... i want it
That data is old, designed for PS1. will work on some PS2 games, but many will have problems as calibration data is needed (when the game sets and fixes the controller in analogue mode at start up). i got code to emulate the info given for PS1 style controllers using a pic microcontroller. works on PS2 (in digital mode and to some extent in analogue and DS2 mode), but am still trying to find all the signals needed to select modes. the ID code for a DualShock 2 controller is 0x79 (byte 2 on DATA). it uses 21 bytes. the first 9 bytes (except ID) are the same as the analogue controller in red mode in that info, and the following 12 bytes are the 12 analogue (start and select are digital only) buttons (0x00 is off, 0xFF is on). bytes 4 and 5 on the COMMAND line are for the right and left vibration motors (as they are on the PS1 controllers). have got some of the calibration data out, but not all working properly yet.
You might find the all the signals needed to select modes here:
http://www.hm5.aitai.ne.jp/~takuya/elec/ds...2_analisys.html (http://www.hm5.aitai.ne.jp/~takuya/elec/ds2_analisys/ds2_analisys.html)
or
http://www.hm5.aitai.ne.jp/~takuya/elec/ds...ys/cmd.sjis.txt (http://www.hm5.aitai.ne.jp/~takuya/elec/ds2_analisys/cmd.sjis.txt)
but pages are in japanese language :(
Could you share the data to emulate PS1 style controllers using a pic microcontroller? :P