Dude, you’re missing the point…
Windows does not support the Playstation controllers. To use a Playstation controller on Windows, you need to use a third party hacky driver. From memory, UE recognises the controller the same way windows does - as a generic windows joystick. Why would it do anything else?
Can’t speak to Unity’s setup because, again, this is an O/S issue, not an engine one.