Question: how to connect a ps4 controller to pc via cable?
Answer: The simplest way to connect your controller to your Windows computer is to use a micro-USB cable. ... 
1) Plug the smaller end of your micro-USB cable into the port on the front side of your controller (below the light bar).
2) Run Driver Easy and hit the Scan Now button.