-
Notifications
You must be signed in to change notification settings - Fork 54
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
Touch emulate as moonlight-nx #83
Comments
Hmm, nice point, I'll try to figure it out |
Sorry to bug but is this still being looked into? I had both Moonlight NX and Moonlight Switch on my system for exactly this reason as I found Switch generally be better but NX was useful for the touch-screen feature. As of the latest Nvidia GameReady driver NX stopped working though :( |
Hi, I'm not actively maintain current version of Moonlight-Switch, cause I'm creating my own UI framework at this moment. I think when I'm done I'll rewrite entire Moonlight-Switch from scratch, so I don't want to spend extra time to the stuff I'll rewrite anyway. If I'll have some spare time, I'll try to implement this, but I could not promise it, sorry. |
Ok, nevermind, I've found some time to implement this. I did not tested it too much, but seems like it's working. @Skyyblaze, check out this build and say if works fine or it need some tuning. |
Thank you so much, also for your future work! I'm waiting for the build to finish and will then report back :) |
@XITRIX Hmm it seems to work semi-correctly. It does partially work like it should but the mouse-position seems to be relative to where the mouse currently is on the screen instead of being absolutely where I touch which leads to lots of weird inputs :( |
Ok, I'll try to check what's going wrong, I think I messed up with an order of mouse position change and button click |
Thank you! Tag me when you have a new build, I'll gladly test again :) |
Native touch support is available on Sunshine nightly. It’ll be better to use that rather than emulating it with the mouse. |
@Rena21, it should be supported by moonlight-core first to make it possible to implement in Moonlight-Switch |
It’s available in core since moonlight-stream/moonlight-common-c@4a48024 |
this feature will be very useful in many touch-based games, thank you for your contribution! |
Implemented in v1.0 |
In Moonlight-NX, we can use the touch screen on Switch as touchscreen on Windows. With it, we will use touch screen con Citra on PC.
The text was updated successfully, but these errors were encountered: