What is this?
This fix attempts to resolve the controller issues in Prey that were introduced with patch v1.05, by forcing the game to use XInput instead of the Steam Controller API by Valve.
While Prey offers good controller support, patch v1.05 introduced various issues. Instead of choosing either XInput or the Steam Controller API based on the user settings, the game always uses the latter. This results either in problems with the movement as well as certain controller settings or in the controller not working at all if the user has disabled the usage of the Steam Controller API in game’s properties in Steam.
This fix re-enables XInput support and forces the game to use it, regardless of the settings.
Important: This fix is is designed for latest, fully patched installation of Prey and will probably crash when it is used with any other version than 1.05.
The fix does not make any permanent changes to the game or the system and can easily be removed (see below).
- Extract the file
dinput8.dllto the release sub-folder of Prey. For example:
"C:\Program Files (x86)\Steam\steamapps\common\Prey\Binaries\Danielle\x64\Release\"
- Important: Make sure that you have turned of the usage of the Steam Controller API (see below)
- Start the game like you would normally, for example directly through Steam or Big Picture mode
Although the fix forces the game to use XInput, it is necessary to turn of the usage of the Steam Controller API in the game’s settings. This is because the Steam Controller configuration emulates mouse input when using the analog sticks, which overrides the data provided by XInput. To do this, go to Big Picture mode and find Prey in you library. Click Mange Game -> Controller Options and uncheck Use Steam Configuration for Non-Steam Controllers.
- Remove or rename the
dinput8.dllfrom the folder of the game.
How To Use
After the installation the fix does not require any additional treatment. Just launch and configure the game as usual.
What You Should Know
This fix is essentially a hack and relies on the layout of the specific executable. There may be crashes or unexpected issues. Feel free to provide feedback so that the problems can get fixed.
Since the fix consists of an executable DLL-File, I could have put any harmful shenanigans in there. You just have to trust me that the file is clean.
If you don’t — and why should you — feel free to use a meta online virus scanner like VirusTotal to verify the file. Be aware however, that because the fix uses “hacking techniques” such as injection and hooking, it could trigger anti-virus software without being harmful.
There are currently no known issues with using the fix.
Contact And Support
If you like this fix and want to support the development or show your appreciation, you can find more information on my website. There you can also find out more about other fixes that I have done and means to contact me if you have a question, want to provide feedback, bug reports or suggestions.
- Added support for demo version of Prey
- Added measures to make the fix more robust to updates of the game
- Initial release