Functions (Programming Reference)

Available XInput functions.

In this section

Topic Description
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.