
XInput and Gamepads
In this tutorial we will look at how to add support for gamepads to our application using the XInput API.
XInput replaces DirectInput from previous DirectX versions and greatly simplifies the task of working with game controllers, as long as they are XInput-compatible, i.e. X-Box-like controllers.