One more!
Code:
1.9 - 2012-02-20
New vibration curve, tested specially to feel nice on Chrono Cross's
intro. Also, a guitar build for X360 Guitar owners that wanna play
Guitar Hero in PCSX2. (really WIP)
The Chrono Cross intro is supposed to have an incremental effect towards the tower then again gradually off, but the plugin made barely any difference. That's what |reset| said to me, and was totally true. So after getting some numbers I ended up with this curve
http://i.imgur.com/6I0Ue.png that really feels a lot nicer than straight linear.
As for the guitar, I was able to make Guitar Hero detect the controller as a guitar. But since I don't have a guitar I merely compared what the controller seemed to do against MSDN's information of XInput guitars. I think for the most part it should work nicely though.
#UPDATE!
Code:
1.10 - 2012-02-23
Some guesswork at command 0x40, and some bugfix at command 0x4F. That
fixed some games not detecting the Dualshock2 controller. Also, fixed
the deadzone which was bugged.
Should work well now in Tales of Destiny, Sakura Wars and some other games for the PS2.
#UPDATE2!
Code:
1.11 - 2012-02-23
After gathering some analog stick data I saw the corner cases where
always beyond the ideal circle, so I now extend only when that happens.
This means, almost no range is lost in order to reach the corners. =D
Also an extra check to stop vibration on pause.
The gathered data in pdf format:
http://www.mediafire.com/?7bk7udrd8e5d3mt
The blue and violet dots are the left and right stick respectively. Then is just the ideal circle, the exted circle to reach the corners and the evil square. Interestingly, I thought the controller was more circular.