XBox controller with C#
Just testing the interface with an XBox controller for the a Boxing punch counter app, so these are a few notes of what I’m using.
Main drivers for the XBox controller are downloaded from the Microsoft site, http://www.microsoft.com/hardware/en-us/d/xbox-360-wireless-controller-for-windows I used the 32 bit version with Windows XP and I tested with the wireless version. Under another test with Windows 7, the drivers updated automatically when the wifi section was plugged into the USB port.
I looked at some examples and decided to use the SlimDX open source C# interface, rather than a full XNA library. It’s lightweight and we don’t need all the 3D facilities of the full XNA sdk. We’ll start with that and see how it goes. The SDK details are here, http://slimdx.org/ and it may be downloaded here, http://code.google.com/p/slimdx/downloads/detail?name=SlimDX Runtime for .NET 2.0 28September 2011%29.msi This needs to be installed. It’s a .msi file. They may be producing an update for .Net 4.0 soon, so keep a check.
This is a simple example that works from this guy, http://visualcsharp.webs.com/projectdownloads.htm