moonlight-qt
moonlight-qt copied to clipboard
(Linux) Support all Playstation Dualsense features with Sunshine's new virtual gamepad library
Is your feature request related to a problem? Please describe. Right now, Moonlight only exposes either an Xbox 360 controller or a Dualshock 4. With the upcoming changes to Sunshine's virtual gamepad library (link) implementing new virtual controllers (like Xbox One, Switch Pro Controller, Joycons and Dualsense), Moonlight should detect the current controllers and map them accordingly, including all of their special features.
Describe the solution you'd like Moonlight should be able to detect a specific controller along with its features and map it to the virtual one on the host so that it acts like it were connected directly to the host.
Describe alternatives you've considered Using usbip to directly send USB data over IP works correctly, but having this implemented directly to Moonlight would be much simpler and user-friendly.
Additional context Dualsense features: Lightbar (similar to Dualshock 4 but with aditional leds on the bottom for player number), Touchpad (equal to Dualshock 4), Adaptive Triggers (HID device that controls the trigger motors), Haptic Feedback (sound device that is always named "Wireless Device" and has a 4.0 output, with the front 2 channels being for the 3.5mm jack and the rear ones for the Haptic Feedback itself).
Xbox One features: Impulse Triggers (vibration motors for the triggers, but unlike the Dualsense's Adaptive Triggers they don't modify the force needed to push the trigger itself).
Switch Pro Controller / Joycon: HD Rumble (similar to Dualsense's Haptic Feedback, though I haven't tested how they work on PC), player number lights