-
Notifications
You must be signed in to change notification settings - Fork 674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature request] Gyroscope/Touchpad transfer to Sunshine host #960
Comments
Please I need this |
Me too |
must have for switch and wii games! |
moonlight is great. Would be greater if added |
PLEASE!!!!!!!!!!!!!!!!!!!!!!!!!! |
Please add this feature |
This is supported now with 9af58af but the Sunshine side isn't written yet. |
Cool ! You are the best ! 🥇 |
Support for the full set of DS4 features is available for testing now. Please give it a try and let me know how it performs. You'll need to use dev builds of both Moonlight and Sunshine listed below.
See below for updated links |
Thanks ! |
I've just tested your nightlies and it's work fine but like danaigus i have a problem with Dualsence's triggers (they just do full or nothing) |
Is this a Sony DS4 controller specific implementation or would this also work with Nintendo Switch Pro Controllers? |
I've just test it, NS Pro controller's Accel/Gyro is passed and Capture button work as DS4's Touchpad button |
The trigger issue was a bug in the version of SDL included in that build of Moonlight Qt. It is fixed in the builds linked here. Here are new builds of Moonlight and Sunshine for testing: |
What is the current state of Linux support? I've look at the Sunshine nightly branch, and found Sunshine Linux does not support the feature yet. Does Moonlight Linux nightly -> Sunshine Windows test build works? |
The feature isn't in nightly yet either for Linux or Windows. It's still in PR. LizardByte/Sunshine#1435
The PR above includes Windows support and provides stubs for Linux. Another developer has said he will work on the Linux implementation.
Yes, that should work if you use the Snap on the edge channel or the AppImage from here https://ci.appveyor.com/api/buildjobs/mtblh3h7dlocn9v2/artifacts/Moonlight-r2084-x86_64.AppImage One thing to be aware of is that Moonlight uses SDL for controller support and SDL on Linux doesn't have universal support for these extended features (LED control, motion sensors, battery reporting, touchpad input, etc) in the generic Linux gamepad implementation. Many common gamepads (Xbox 360, Xbox One, PS3/4/5, Nintendo Switch) have special HIDAPI driver implementations in SDL that do support those features, but the sandboxes used by Flatpak and Snap may prevent the direct access that HIDAPI requires to work. It's not something I've tested yet. |
If this worked on the Atmoshphere (Nintendo Switch) Moonlight client I would be soooo happy. |
Maybe you can ask at Moonlight-Switch in his related issue, maybe he can add this feature for his next releases ^^ |
Now this work fine even with Dualsence's triggers, thank you ! 👍 |
Sunshine support is merged into the nightly builds and support is present in this client, so going to go ahead and close this as completed. Until new versions of Sunshine and Moonlight are released, you can use the nightly builds for this feature. |
|
I was trying this on a Fire Stick 4K Max (Gen 1), and the Nintendo Switch Pro Control Gyro does not seem to get passed. What could I be doing wrong? |
Is your feature request related to a problem? Please describe.
Some games needs gyroscope or touchpad to work properly like emulated games of some recent games but only axes and buttons is sent to host by Moonlight.
Describe the solution you'd like
Sunshine gives possibility to emulate DS4 controller instead of X360 but no motion/touchscreen data is transferred.
Describe alternatives you've considered
At this moment, there is no way to send motion data from client to host except for Dolphin or Cemu by create DSU server on client but it not work on all platforms and don't work outside of LAN.
Additional context
I will send the same issue to Sunshine, the combo Moonlight/Sunshine is already a great alternative (selectable screen, multi client, custom resolution/fps) and it can be even more greater with this kind of features 👍
The text was updated successfully, but these errors were encountered: