Xbox controller would be the best to use on pc. But if you still want to use DS4 controller, then you do need to use an application to make it work. I use Inputmapper app to connect my DS4 to pc. It works fine for me.
But if some of the keys still incorrect, you can try to adjust it at setting...