I tried apps that should officially support controllers and even apps that should specifically support PS4 controllers (including multiple PS4 controller testing apps). None of them worked.
I connected the PS4 controller via bluetooth. It showed up as wireless controller and I was able to connect to it, but none of the apps worked.
This was on a FP4 running /e/OS 2.2.