moonlight-stream / moonlight-android

GameStream client for Android
GNU General Public License v3.0
4.3k stars 681 forks source link

Phones gyro not transmitted with on-screen-gamepad #1373

Open N1v0k opened 5 months ago

N1v0k commented 5 months ago

Describe the bug

If the on screen gamepad is used and the emulate gamepad Motion Support is active, I'd expect that the Controller will show up as DS4 with a gyro. I expect this to happen because this is how it works when attaching a real gamepad to the phone.

Steps to reproduce

  1. Install sunshine with Vigem, set the gamepad type to auto
  2. Activate emulate gamepad Motion Support in Moonlight Android
  3. Activate the On Screen Gamepad
  4. Start streaming and check the controllers on Windows Devices, there is a Xbox controller which by definition can't have a gyro
  5. Attach a real gamepad to the phone
  6. The virtual Gamepad is now a DS4, steam can show gyro data

Affected games

Any

Other Moonlight clients

PC

Moonlight adjusted settings

Yes

Moonlight adjusted settings (please complete the following information)

Moonlight default settings

Yes

Gamepad-related connection issue

No

Gamepad-related input issue

No

Gamepad-related streaming issue

Yes

Android version

Android 13

Device model

Red Magic 8

Server PC OS version

Windows 11

Server PC GeForce Experience version

Sunshine

Server PC Nvidia GPU driver version

512

Server PC antivirus and firewall software

Windows 11 defaults

Screenshots

No response

Relevant log output

No response

Additional context

No response

Berriesnbombs commented 4 months ago

i have this same issue it used to work for me ive triee all the versions that have gyro both moonlight and sunshine and i even used different pcs try different versions of sunshine im on android 14 so because of you we know its not just a android 13/14 its both and it has nothing to do with nvidia drivers since same happens with my radeon build

systox commented 3 months ago

Wish we even had this feature on iOS/ipad