Consider [Bruno Silva’s solution for integrating an Xbox 360 controller with PowerPoint] [x]. The first project was for the Office add-in for Powerpoint, but the base project is a shell that allows you to use the gamepad in a Windows or WPF application.
It wraps the XNA class Microsoft.Xna.Framework.Input.GamePadand provides an interface with events associated with each change in the status of the button, as well as connecting / disconnecting the game panel.
[Bruno Silva's blog contains links to the project and sample code] [x].
You will need to install the XNA Framework 2.0. I'm not sure if later versions are compatible.
source
share