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, 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, and it may be downloaded here, 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,

Monday Night Football at Sky

The new football season brought with it a new set for the Monday Night Football studio on Sky Sports. Lots of changes…new projection screens, touch table for the clips and telestration, touch screen for Andy Gray and iPad for Richard Keys. Lots of new lighting effects, scrolling LEDs and wifi meant a busy week or two for us beforehand.

With the usual VizRT systems in place to show the team formations, we could add on the ability to drive the scene over WiFi from an iPad. It seems to be the trendy thing to have at the moment. Many of the execs are wandering around with them, almost actively looking for an application. It’s good for us, as it brings a little budget and a whole lot more excitement into the team. It was a little nerve wracking watching someone press the button live on air, but it worked a treat. We should be confident. All our football systems are preparing the data; stats guy chooses the team as usual; save the player names to the web site. The iPad app to load the teams and give the interface was the only part that was new. Pete Lane is with us doing the touch screen work. He was able to knock out the app, which then interfaced to our Viz command system to send actions to the scene.