So, after resetting both the game and steam, the controller works. But, still not when the game is not the active window.
I have tried 3 different controllers including a different PS4 controller and an XBox One controller. None of them work when the game is not the active window. I reset all in-game settings to default, and that didn't change anything.
