Question: how to connect ps4 controller to pc to play steam games?
Answer: To get your DualShock 4 set up on Steam, launch the Steam client and click the controller icon at the top right to enter Big Picture Mode, which is Steam's console-like, controller-friendly interface. From there, go to Settings > Controller Settings and make sure "PS4 Configuration Support" is toggled on.