Question: how to connect your ps4 controller to steam?
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.