DualShock 4 and DualSense controllers have official drivers built-in to the linux kernel, including support for the touchpad and motion controls. You probably don’t need something like DS4Windows.
Weirdly enough, I could never get my DS4/PS4 controller working on Linux, at least through Bluetooth. The device never shows up in the device list. My Xbox Series X and Xbox One X controllers work perfectly with Bluetooth thanks to xpadneo, and I can use my DS4/PS4 controller wired with or without ds4drv, but I just can’t get it to work wirelessly.
That is strange. It works great for me. All I had to do was pair it.
I have read that some computers have bluetooth modules that don’t play well with it, though. Maybe you have one of those, or an old kernel?
I’m on Ubuntu 22.04, kernel 6.5.0-41-generic so it shouldn’t be that. Maybe my Bluetooth adapter isn’t that great but it’s a TP-Link UB400 so it’s not exactly a low quality Bluetooth adapter either.
And if you do run into any problems, the Steam overlay should solve any compatibility problems, if you’re OK with launching your games through Steam. I end up doing that with all of my games (including the ones I didn’t buy on Steam) since I think its controller mapping UI is the best.