For some time now the beta version of Steam has had support for the PlayStation DualShock 4 controller.
Today that feature was released alongside the new client update for Steam, which has added support for the PS4 controllers, allowing you to game on PC with whatever controls you want, keyboard and mouse or a controller.
This comes after Valve made the feature available in the beta version of Steam back in October, but now it is finally available to everyone, here are the patch notes:
– Added Steam Configurator support for PS4 Dual Shock Controller. Enable in Big Picture settings Add/Test Controller settings. When enabled, PS4 controllers will have access to the same sort of customization/configuration support as Steam Controllers, including native API support. PS4 Controllers using this system can map the trackpad, gyro, buttons, etc. to keyboard, mouse, or x-input outputs and can make use of action sets, touch menus, radial menus, and so forth.
– Added software gyro+accelerometer integration for IMUs without hardware integration. Allows Joystick-Move/D-Pad/Mouse Leaning support for the PS4 gyro input.
You can read more about the full client update at the source link below.