Building your own game controller!
- Posted: Apr 28, 2010 at 6:00AM
- 1,270 views
- 1 comment
Loading user information from Channel 9
Something went wrong getting user information from Channel 9
Loading user information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Donn Morse created a slightly modified version of the XNA Racing Game Starter Kit to work with a custom game controller that has an accelerometer!
The sample driver supports communication between a Windows 7 application and the sensor. (Note that in addition to a dual axis accelerometer, the driver also supports a compass, a passive-infrared sensor, and an ultra-sonic distance sensor.)
The XNA Racing Game Starter Kit sample demonstrates how you can write a complete auto-racing game in C# with .Net. Included with this project are three updated source files and a COM Interop which let the game receive input from your game controller.