Hi Steven1985
I'm using ps4 controller with Ryochan ds4 driver. It will make the PC to recognize ps4 controller as xbox controller, this solved a lot of problems for me.
PS: I suggest to activate the exclusive mode in the driver settings, is the best mode. It will avoid some RetroArch problems too if you are using it for emulators, and turns the ps4 controller 100% functional
Here's the driver
https://github.com/Ryochan7/DS4Windows/releases
EDIT:
Another suggestion is to use Steam driver, but you need to let it open to work properly and activate in controller settings