xinput.h header
This header is used by XInput Game Controller APIs. For more information, see:
xinput.h contains the following programming interfaces:
Functions
XInputEnable Sets the reporting state of XInput. |
XInputGetAudioDeviceIds Retrieves the sound rendering and sound capture audio device IDs that are associated with the headset connected to the specified controller. |
XInputGetBatteryInformation Retrieves the battery type and charge status of a wireless controller. |
XInputGetCapabilities Retrieves the capabilities and features of a connected controller. |
XInputGetDSoundAudioDeviceGuids Gets the sound rendering and sound capture device GUIDs that are associated with the headset connected to the specified controller. |
XInputGetKeystroke Retrieves a gamepad input event. |
XInputGetState Retrieves the current state of the specified controller. |
XInputSetState Sends data to a connected controller. This function is used to activate the vibration function of a controller. |
Structures
XINPUT_BATTERY_INFORMATION Contains information on battery type and charge state. |
XINPUT_CAPABILITIES Describes the capabilities of a connected controller. The XInputGetCapabilities function returns XINPUT_CAPABILITIES. |
XINPUT_GAMEPAD Describes the current state of the controller. |
XINPUT_KEYSTROKE Specifies keystroke data returned by XInputGetKeystroke. |
XINPUT_STATE Represents the state of a controller. |
XINPUT_VIBRATION Specifies motor speed levels for the vibration function of a controller. |