Sony recently[1] mainlined its DualSense 5 driver to the Linux kernel, so reversing the protocol shouldn't be difficult. There previously were a couple of open-source 3rd party drivers for older DualShock controllers - I use a DS 4 controller for all Steam on Linux games and it works very well: most games recognize it as a PlayStation controller, display the correct button symbols on help screens and QTEs
1. Dec 2020 - https://www.phoronix.com/scan.php?page=news_item&px=Sony-HID...