moonlight-nx
moonlight-nx copied to clipboard
Motion Controls Missing
Hi Andrey, First of all I would like to thank you for the amazing work you did porting moonlight. I'm really enjoying streaming my pc games on my switch!! I truly appreciate the effort you put into this! One thing that can improve the experience on the switch would be including motion controls, not sure if that's feasible but I thought to ask :) Again Thank you for the the awesome port!
Hi! I think Nvidia GameStream protocol not supported motion control, but not sure completely.
First, I'd not call this an issue, it's rather enchantment.
It's possible to implement motion controls in 2 ways:
-
Translating gyro input to mouse cursor movement (I suppose it's possible because users can mimic mouse movement using touchscreen, it even works in games).
-
By emulating right thumbstick movement from gyro input (this is implemented in Steam for games that doesn't support using gamepads and mouse at the same time).
-
Idealy both, along with activation button and per game settings :)
@mlnst, nice solution, I think it can be implemented)
Additional info on this:
I think this feature (along with whole app) should work in synergy with Steam Big Picture.
- The Steam makes possible using gamepad in games that support only keyboard and mouse.
- Game launcher is already implemented there.
- It already have implemented a lot of options that makes easy configuring playing PC games in console like way.
- It supports setting of controls remaping, sensivity/behavior of thumbsticks/gyro controls.
Basically instead of implementing all of those features into Moonlight-NX, using them from Steam, by launching Steam Big Picture then a game is much better idea.
In this case per games setting of controls wouldn't be necessary, only some key shotcut to switch between mouse movement emulation and right thumbstick movement emulation.
Also I suggest implementation key combo for home button (as home button itself can't be used). I suggest pressing + and - at the same time.
For those who have problem with high frequency flicker when using Moonlight and Steam Big Picture at the same time, the fix is to set steam.exe and steamservice.exe to use integrated graphics in Nvidia Control panel.
The only thing that comes to my mind that would require more work on Moonlight-NX in order to make it perfect is 2. Emulating right thumbstick movement from gyro input. In case game doesn't support KB+M and gamepad at the same time. In ideal case, the options for this parameter should be implemented in simmilar way it was implemented in Steam. Of course not all options are needed. But getting clues from this implementation would be good start.
This is a really important feature ! It would work wonderfully for rts games when playing docked. Also even in the moonlight app not all settings are usable without the touchscreen, a gyro pointer would help a lot there too.