How to add ps4 controller to unreal engine 5.1 project

The ds4 windows worked perfectly with the 3rd person default. Thanks