I did this but you need a tool so your pc will recognize it as a 360 controller you can get the tool if you google ps4 controller to pc its called scpserver or something just run it each time your ps4 controller is connected to your pc
it has to be connected with usb and it uses a generic driver, if any. it should just work. though only for the most basic thing. ie, rumble, motion sensor, touchpad will not work
I did this but you need a tool so your pc will recognize it as a 360 controller you can get the tool if you google ps4 controller to pc its called scpserver or something just run it each time your ps4 controller is connected to your pc