You can play PC games with a PS4 controller if you have the DS4Windows driver. If you want to use your PS4 controller on Steam or a Mac, you don't need to download any special software.
Steam has updated its platform to support PS4 controllers, but this requires some setup:
Disconnect any nearby PlayStation 4 consoles to avoid syncing issues.
In the Steam client window, select Steam > Check for Steam Client Updates. If any updates are available, download and install the updates, then wait for Steam to restart.