I am not sure, but for me the PS4 controller works just fine. I have this problem with some other game tho from time to time.
Things that i try if encountering the issue:
- use steam big picture (yeah i know its shit, but sometimes it helps)
- create a new controller setup/profile in steam, meaning i check all input settings, change LED color, rename controller etc. this sometimes “magically” resets the controller profile
- check all enabling options, there should be 3: disabled, enabled and enabled in games without support
bluetooth also shows most issues, so i plug in my controller with a cable, but thats likely a windows issue
which brings me to another thing you could try: check windows settings for your controller.
aside from the usual and the above, i don’t know what else you could try. maybe someone else has ideas?
Edit: also some games have issues when steam ingame overlay is enabled. maybe try to enable and disable this option as well?