So i tested a little bit the solutions from other threads and found a way to play with PS4 Controller, it is working for me but its not guaranteed to work for you.
So first of all i did some changes in the controller settings in Steam, go into Steam -> Settings -> Controller -> "General Controller Settings".
In there you see some Options i enabled Playstation and Xbox Configuration support, then Steam forces you to restart.
After the restart when Steam is active and you have plugged in your PS4 controller it should light up and stay like that.
If these steps are done you need to add ea app as a non steam game. And run it.
Then select nfs unbound and test it. It worked for me 🙂
If anything is unclear im happy to answer the question.