Hey everyone,
It’s been a while since I’ve posted here, last time was to help Unity3D users to use the library I did back in 2009 for supporting the XBox 360 controller. As some may know, Unity doesn’t support separate triggers and vibration. I made this plugin nearly identical to the XNA Input API because it’s a really well designed API and some users may already be familiar with it.
I’ve opened up this project recently because someone complained that the dead zones made the sticks axis “snap”, there was a silly mistake in the code. I took the opportunity to rework the way the dead zones are computed and added a missing dead zones mode from the XNA API which was “Circular”.
I also moved the project from my personal site to GitHub so people can send me pull requests if they have fixes, feel free to play with the code : GitHub - speps/XInputDotNet: C# wrapper around XInput, works with any Mono or .NET application (eg. Unity3D)
Cheers,
