XITRIX / Moonlight-Switch

Moonlight port for Nintendo Switch
907 stars 49 forks source link

[Feature request] Gyroscope amplification setting #98

Closed CipherLab closed 5 months ago

CipherLab commented 1 year ago

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

XITRIX commented 1 year ago

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

Victor053 commented 9 months ago

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.

joshbirnholz commented 8 months ago

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

XITRIX commented 8 months ago

Moonlight.nro.zip

Try to test this build, does gyro works properly?

joshbirnholz commented 8 months ago

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.

XITRIX commented 8 months ago

Did it recognised as DS4 controller or as xBox one?

joshbirnholz commented 8 months ago

It gets recognized as an Xbox controller.

XITRIX commented 8 months ago

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

joshbirnholz commented 8 months ago

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.

jackazz86 commented 7 months ago

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

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

XITRIX commented 7 months ago

Released in v1.0

joshbirnholz commented 7 months ago

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.

XITRIX commented 7 months ago

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

kripikripi commented 7 months ago

The sensitivity for me is very low too

IISAKNIFE commented 5 months ago

Any update on a way to amplify gyro sensitivity?

XITRIX commented 5 months ago

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

XITRIX commented 5 months ago

This issue will be handled in #149