Deployment
Dependencies
Windows Standalone
OPTIONAL: If using XInput or Direct Input, the DirectX End-user Runtimes (June 2010)from Microsoft may need to be installed. You should include this runtime in your game installer. This is not necessary if only using Raw Input or Unity input.
If XInput is enabled, Rewired can use any of these versions of XInput if they are installed on the system:
XInput_1_4.dll
XInput_1_3.dll
XInput_1_2.dll
XInput_1_1.dll
XInput_9_1_0.dll
Windows Vista, Windows 7, Windows 8, and Windows 10 all come with a version of XInput pre-installed.
If using Direct Input, the Visual C++ Redistributable for Visual Studio 2015, 2017, and 2019 must be installed.
SDL
If you are using SDL2 or SDL3 as the input source (optional) on any platforms, you must include the appropriate SDL libraries in your build package, unless you know the target operating system already provides this library (eg: SteamOS) or you plan to publish the game through Steam, which already includes the SDL libraries. The library you include and the location in your package in which to place it depends on the target platform and architecture. Failure to include the libraries will result in an error being logged and input falling back to Unity input as the source.
The latest libraries can be obtained at the SDL website.
For your convenience, Rewired includes a set of SDL2 and SDL3 library binaries for Windows and MacOS, but they must be installed manually through the menu option:
SDL2:
- Window -> Rewired -> Setup -> Install Libraries -> SDL2 -> Windows Standalone
- Window -> Rewired -> Setup -> Install Libraries -> SDL2 -> MacOS Standalone
SDL3:
- Window -> Rewired -> Setup -> Install Libraries -> SDL3 -> Windows Standalone
- Window -> Rewired -> Setup -> Install Libraries -> SDL3 -> MacOS Standalone
SDL on Linux:
Rewired does not include SDL library binaries for Linux due to potential differences among Linux distros and versions. If distributing your game through Steam, no additional libraries need to be included in your build due to the fact that Steam ships with the SDL2 and SDL3 libraries. If you are distributing your game directly, either you will have to include the appropriate library with the build or instruct the user to install the SDL library for their distro through the distro's package manager. (See the SDL2 and SDL3 documentation for details.) Rewired attempts to P/Invoke to the SDL2 library "libSDL2-2.0.so.0" and the SDL3 library "libSDL3-0.so.0". The P/Invoke commands will fail if the library is not found, and Rewired will log an error and fall back to the next available input source.
Build Minimum OS Version Requirements
| Windows Standalone | |
| Raw Input | Unity base requirements |
| Direct Input | Windows 10 version 1803 (Build 17134) |
| Windows Gaming Input | Windows 10 version 1809 (Build 17763) |
| Windows Universal | |
| Native | Windows 10 version 1709 (Build 16299) |
| MacOS | |
| Native | Unity base requirements |
| Game Controller Framework | MacOS 10.11 |
| Linux | |
| Native | Ubuntu 12.04 |
| iOS | |
| Native | iOS 9.0 |
| tvOS | |
| Native | tvOS 9.0 |
| VisionOS | |
| Native | VisionOS 1.0 |
