XInput Game Controller APIs


GameInput is a functional superset of all legacy input APIs—XInput, DirectInput, Raw Input, Human Interface Device (HID), and WinRT—with new features that expose input devices of all kinds through a single consistent interface. It's available on all Windows platforms (including PC, Xbox, HoloLens, IoT), previous versions of Windows (all the way back to Windows 7), and is callable from GDK, Win32, and Universal Windows Platform (UWP) applications.


XInput Game Controller API enables applications to receive input from a controller.

In this section

Topic Description
Programming Guide
This guide contains information on how to use the XInput API to interact with a controller when it is connected to a Windows PC.
Programming Reference
XInput functions and structures.

Developer audience

XInput Game Controller APIs is designed for use by developers who want to use a controller for their Windows applications.