Moonlight-Switch icon indicating copy to clipboard operation
Moonlight-Switch copied to clipboard

[Feature request] Gyroscope amplification setting

Open CipherLab opened this issue 11 months ago • 16 comments

It would be awesome if this version of moonlight could pass gyro data to Sunshine, now that it's starting to support it: https://github.com/moonlight-stream/moonlight-qt/issues/960

CipherLab avatar Jul 10 '23 18:07 CipherLab

https://github.com/moonlight-stream/moonlight-qt/commit/9af58af5e4aa536083ad62997135c1f9c03430ec

I'll left it here not to lose. If this feature is implemented on moonlight-common-c side, I think I could try to implement it later

XITRIX avatar Jul 13 '23 12:07 XITRIX

moonlight-stream/moonlight-qt@9af58af

I'll left it here not to lose. If this feature is implemented on moonlight-common-c side, I think I could try to implement it later

I have a suggestion you could add a mode that controls the mouse on the host using gyro data and activate that mode from the overlay whenever you want. That way you don’t have to pass gyro data to host just mouse.

Victor053 avatar Jan 05 '24 13:01 Victor053

I think gyro is supported now, it would be great if we can get it implemented!

joshbirnholz avatar Jan 31 '24 00:01 joshbirnholz

Moonlight.nro.zip

Try to test this build, does gyro works properly?

XITRIX avatar Jan 31 '24 17:01 XITRIX

Moonlight.nro.zip

Try to test this build, does gyro works properly?

No, I tried this build out and gyro didn't seem to be working. I connected with Moonlight from an Android tablet and gyro worked there, but not on Switch with that build.

joshbirnholz avatar Jan 31 '24 22:01 joshbirnholz

Did it recognised as DS4 controller or as xBox one?

XITRIX avatar Jan 31 '24 23:01 XITRIX

It gets recognized as an Xbox controller.

joshbirnholz avatar Jan 31 '24 23:01 joshbirnholz

Change Sunshine settings to recognise it as DS4, xBox one do not support SixAxis

XITRIX avatar Jan 31 '24 23:01 XITRIX

I actually originally had Sunshine set to recognize it as DS4, but the gyro still wasn't working.

Setting it to Auto made it get recognized as an Xbox controller. My android tablet, which does have motion controls working, gets recognized as DS4 when Sunshine is set to auto.

joshbirnholz avatar Jan 31 '24 23:01 joshbirnholz

That's actually working! Although gyro sensitivity is a bit low (can be tweaked inside Steam options).

  • Sunshine v0.21.0
  • Latest Client Uploaded above in this thread

Thank you very much for all the amazing work! This final update is pure magic.

jackazz86 avatar Feb 06 '24 18:02 jackazz86

Released in v1.0

XITRIX avatar Feb 06 '24 19:02 XITRIX

The sensitivity for me is more than just a bit low. Even if I wildly swing my controller/console, only a slight movement is picked up. Can the sensitivity be increased, or be made configurable? We shouldn't need to have to increase sensitivity through Steam, and it's unusable right now with how low it is.

joshbirnholz avatar Feb 07 '24 00:02 joshbirnholz

I'm using raw values from Switch sensors, I'll take a look about amplification setting

XITRIX avatar Feb 07 '24 08:02 XITRIX

The sensitivity for me is very low too

kripikripi avatar Feb 16 '24 16:02 kripikripi

Any update on a way to amplify gyro sensitivity?

IISAKNIFE avatar Apr 06 '24 01:04 IISAKNIFE

Not yet, sorry, unfortunately don't have enough time to sit and make it ...

XITRIX avatar Apr 06 '24 10:04 XITRIX