PS4 controller detected by Steam but does not work in most games

I figured out the issue, I had disabled the Steam overlay a while back to save resources. Controller works in all the games I listed except for Waves with the overlay enabled.