Add Comment
I recently bought a wired XBox 360 controller to use with my Steam games on my PC. It works very nicely, so of course, I had to use it in my own code eventually.
Here’s the first place I’m using it. I made a little library called XController that wraps XInput in a class. It makes the interface to the controller a lot friendlier in C++ and does not require you to include the dreaded windows.h (or XInput.h for that matter).
Next, I might try to update StickyInput to use a similar interface. Then I could have support for these controllers in all of my games.
You can find XController on Google Code!