I would like to know how I can play on my PC with my PS4 controller.
I also have a broken XBOX controller, which is then recognized.
Connect with usb
With a tool or driver that pretends that it is an Xbox controller
otherwise via Steam Big Picture if you play on Steam
By using the x360ce or DS4Windows tool. It's easy and most of it is configured automatically. I've been using for years.
https://www.x360ce.com/
http://ds4windows.com/
With the Input Mapper program.