DualSense adaptive trigger support#1561
Conversation
|
Hi, does this allow the DualSense to be detected as a DualSense for compatible games? I think it's currently emulated as a PS4 controller, is that correct? Is it only compatible with a Linux host? Or is it also compatible with Windows? |
|
@moi952 the Moonlight code in this PR would send the adaptive trigger events to the locally connected joypad across platforms; I've tested it on Linux and OSX. Server side, only Linux has full support for a DualSense joypad currently. |
Thanks for your answer ! 1 - Windows doesn't support it because it has to be developed on Sunshine? Sorry, these may be stupid questions. On Windows, directly on my PC, the DualSense works well, people would be happy if it worked. 3 - Is it compatible for games that natively use DualSense? Thanks |
|
I've been testing this through moonshine and it seems to be working great! With these PRs and Steam Input disabled, Horizon Forbidden West correctly sends trigger effects when firing arrows. Haven't tested any other games, but there's also very few games that use this functionality. |
|
I've updated If you need a quick way to test this out with a DualSense joypad you can use https://github.com/games-on-whales/sdl-jstest. After building, you can just call during a streaming session and by pressing the microphone button, it'll cycle through a couple of different trigger effects. |
|
Thanks for this! I'm going to try it soon. Does it by any chance work with Bluetooth too? |
|
Yep it does |
|
I can confirm it works with Steam Input disabled, as if it's attached to the gaming host (tried Ghost of Tushima and Horizon Forbidden West). |
|
Nice, thanks for testing @daniele-athome! |
|
Hi, thanks for doing this! I've built moonlight-qt from source with the build-appimage script and copied it to my Steam Deck with a DualSense connected through Bluetooth. Sunshine on my Linux host appears to detect and emulate the controller as a Dualsense but the adaptive triggers do not work in supported games Steam Input is disabled in both the client and the host |
This is part of a series of PRs:
Moonlight client
moonlight-common-cand exposes the adaptive trigger events via SDLSunshine server
moonlight-common-candinputtinoand delivers the adaptive trigger events to Moonlight clients20250319_175750.mp4