Functions (Programming Reference)
Article 12/10/2020
3 contributors
Feedback
In this article
Available XInput functions.
Expand table
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.