moonlight-stream / moonlight-android

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

[Issue]: Shortcuts (Hold Start, LB+RB+Start+Select) not working if USB 360 Driver is Used #1335

Open joshuacant opened 2 months ago

joshuacant commented 2 months ago

Describe the bug

I have a controller (8Bitdo Pro 2) that I can pair over Bluetooth directly to my client device (Fire TV 4k Max). It works in-game on the remote session. Holding start to enable mouse mode works, and pressing lb+rb+start+select disconnects from the remote session.

When I enable the option to use the Xbox 360/One USB gamepad driver and connect it via a USB cable it works in-game on the remote session, but holding start no longer enables mouse mode, and lb+rb+start+select does nothing.

I used the gamepad tester to make sure that the buttons in both modes were being read (by the host session) correctly, and they are. Start is start, lb is lb, etc.

Steps to reproduce

Connect to host with Bluetooth paired controller, test hold-start and lb+rb+start+select shortcuts.

Disconnect from host.

Connect to host with wired USB controller using Moonlight's USB driver, test hold-start and lb+rb+start+select shortcuts.

Affected games

N/A. Issue is with Moonlight on client.

Other Moonlight clients

No

Moonlight adjusted settings

Yes

Moonlight adjusted settings (please complete the following information)

Moonlight's USB driver for 360/One controllers has been enabled.

Moonlight default settings

No

Gamepad-related connection issue

No

Gamepad-related input issue

Yes

Gamepad-related streaming issue

Yes

Android version

Android 11

Device model

Amazon Fire Stick 4k Max (tested both 2021 and 2023 editions because I happen to have both in the house.)

Server PC OS version

Windows 11 Build 22631.3155

Server PC GeForce Experience version

Sunshine 0.21

Server PC Nvidia GPU driver version

551.61

Server PC antivirus and firewall software

Windows Defender, Windows Firewall

Screenshots

No response

Relevant log output

No response

Additional context

No response