Open up your controller, and fiddle around with the ps4 controller's motion pad. I pried it open with a flathead and saw something was blocking the connection and it worked for me.
I wouldn't recommend doing this.
As above members said, not all games support this feature.