# XInput Versions
You can specify the XInput version to use with `%THINDX_XINPUT%` at build time (sets default) and run time (overrides default.)
| `%THINDX_XINPUT%`
DLL | Ships With
Minimum OS | API changes |
|:-----------------------------------------------------------------------------:|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| --------------|
| `uap`
XInputUap.dll | Windows 10?
Windows 10? | All undocumented functions removed.
[On-exit bugs](https://github.com/microsoft/win32metadata/issues/1274) and COM initialization requirements added.
| `1.4`
XInput1_4.dll | [Windows 8](https://learn.microsoft.com/en-us/windows/win32/xinput/xinput-versions)
[Windows 8?](https://learn.microsoft.com/en-us/windows/win32/xinput/xinput-versions) | Replaced: [get_dsound_audio_device_guids] → [get_audio_device_ids] (XAudio2.)
Added the undocumented: ~~[get_base_bus_information]~~, ~~[get_capabilities_ex]~~
| `1.3`
xinput1_3.dll | [DirectX SDK](#directx-sdk)
[Windows Vista](https://learn.microsoft.com/en-us/windows/win32/xinput/xinput-versions) | Added: [get_battery_information], [get_keystroke], + the undocumented [get_state_ex], [power_off_controller], ~~[wait_for_guide_button]~~, ~~[cancel_guide_button_wait]~~
| `1.2`
xinput1_2.dll | [DirectX SDK](#directx-sdk)
Windows Vista? | APIs unchanged
| `1.1`
xinput1_1.dll | [DirectX SDK](#directx-sdk)
Windows Vista? | Added focus management: [enable]
| 9.1.0
XInput9_1_0.dll | [Windows Vista+](https://learn.microsoft.com/en-us/windows/win32/xinput/xinput-versions)
[Windows XP SP1](https://en.wikipedia.org/wiki/DirectInput#XInput) | Base APIs: [get_state], [set_state], [get_capabilities], [get_dsound_audio_device_guids]
### DirectX SDK
Download: [DirectX SDK (June 2010)](https://www.microsoft.com/en-us/download/details.aspx?id=6812)
The DLLs can be found in `C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Redist\*.cab`:
| DLL | 32-bit `*.cab` | 64-bit `*.cab` |
| ------------------|:-------------------------:|:-------------------------:|
| `XInputUap.dll` | N/A | N/A |
| `XInput1_4.dll` | N/A (comes with Windows 8+) | N/A (comes with Windows 8+) |
| `xinput1_3.dll` | `APR2007_xinput_x86.cab` | `APR2007_xinput_x64.cab` |
| `xinput1_2.dll` | `AUG2006_xinput_x86.cab` | `AUG2006_xinput_x64.cab` |
| `xinput1_1.dll` | `Apr2006_xinput_x86.cab` | `Apr2006_xinput_x64.cab` |
| `XInput9_1_0.dll` | `Oct2005_xinput_x86.cab` | `Oct2005_xinput_x64.cab` |
### See Also
* [Microsoft's Version](https://learn.microsoft.com/en-us/windows/win32/xinput/xinput-versions) of this list