First I’ll list the three solutions you can already find on the web:
- Install a plugin in Unreal called RawInput, (google how to set it up correctly).
- There is a DualShock Windows plugin (which requires a license to do anything).
- Install the driver and config app you can find here: http://ds4windows.com/
And now for the juicy part:
I think this one is unknown, and comes with the benefit of using the Steam interface to configure your controller just the way you prefer using it in Unreal. For example, I set the invert Vertical Axis to be On.
As Steam does have the required controller license, I got the following solution to work out of the box:
- If you haven’t already, download and install Steam on your computer (google for instructions).
- In the menu, choose: Games → “Add a Non-Steam Game to My Library”
- Find the binary of the Engine, the default path is: C:\Program Files\Epic Games\UE_4.26\Engine\Binaries\Win64\UE4Editor.exe
That’s it! UE4Editor can now be started through Steam and your controller will work out of the box. As a bonus: this solution will work for any controller that is supported by Steam.