https://www.xbox.com/en-US/accessories/controllers/xbox-adap...
That’s not a token effort or a cash-in. The team behind it really gave a damn.
https://www.xbox.com/en-US/accessories/controllers/xbox-adap...
That’s not a token effort or a cash-in. The team behind it really gave a damn.
It also shows why controller compatibility between consoles might be more important than one would think: the "native" controllers might just be inaccessible. If you want to play on a Switch, you can use an adapter [0] to use the Adaptive Controller. Similar products exist for the PS4, I believe. Hopefully someone reverses the protocol DualSense speaks with PS5 sooner rather than later and can make an adapter for that as well.
[0] https://www.mayflash.com/Products/NINTENDOWiiU/MAGIC-NS.html
Unless Sony is now signing every message I see no reason why this approach couldn't be used on the PS5/DualSense. That said, my cursory search didn't reveal a working PoC.
1. https://github.com/chrippa/ds4drv
2. https://www.phoronix.com/scan.php?page=news_item&px=Sony-HID...
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...
The console actually authenticates the controller using some secret [0]. I find it very doubtful that Sony has implemented this authentication in their Linux driver and released the necessary secrets.
Unless this procedure is a part of a standard that I'm unfamiliar with that it may still need to be reversed for PS5/DualSense. We also need the secrets or use the workaround with a legitimate controller I referenced in a different comment [1, 2].
[0] https://fail0verflow.com/blog/2018/ps4-ds4/
[1] https://news.ycombinator.com/item?id=27378663
[2] https://www.cronusmax.com/manual/wired_controllers_connectin...