moonlight-stream / moonlight-android

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

[Issue]: Xinput doesn't work with 8BitDo USB Wireless Adapter 2 #1441

Open ricardonevesmusic opened 1 week ago

ricardonevesmusic commented 1 week ago

Describe the bug

Hey there 👋

I recently bought a 8BitDo USB Wireless Adapter 2 in order to be able to use my original PS3 controllers with it.

It works perfectly on Windows 10 and 11 (even with Moonlight PC client).

But the Xinput doesn't work, no matter what I do, on the Moonlight Android client.

Strangely enough the Xinput works with Steam Link on Android, so they might be doing something right.

I'd need the Xinput to work, so I could play games with vibration/rumble support on the Android client (as the vibration feature is only supported on the Xinput mode).

That's it.

Hope you can take a look into it and hopefully implement it one day.

Steps to reproduce

I don't know, try all the settings and nothing could get Xinput to work on the Android client.

Affected games

All games.

Other Moonlight clients

PC

Moonlight adjusted settings

No

Moonlight adjusted settings (please complete the following information)

Nothing's been changed.

Moonlight default settings

Yes

Gamepad-related connection issue

No

Gamepad-related input issue

Yes

Gamepad-related streaming issue

No

Android version

Android 12

Device model

MEO TV Box 4K (DIW377)

Server PC OS version

Windows 11 Home (fully updated)

Server PC GeForce Experience version

N/A (GeForce Experience is not installed: I'm using Sunshine)

Server PC Nvidia GPU driver version

560.94

Server PC antivirus and firewall software

Windows Defender and Windows Firewall

Screenshots

No response

Relevant log output

No response

Additional context

Steam Link works with Xinput mode and supports vibration/rumble on the 8BitDo Receiver, because it has a "nearby device" permission authorization.

I believe that if Moonlight on Android supported such a thing, the Xinput and vibration/rumble could work on it.

On Steam Link I receive a pop-up "window" or on-screen notification, prompting me to accept/authorize the Steam Link app to get connected to the 8BitDo Receiver.

So yes, we could receive a prompt like that in Moonlight and allow the app to connect to the nearby Bluetooth device, the same way the Steam Link does now.

That's it.

Please take all of this into consideration, no matter how long it takes.

(I posted this as a bug, because I didn't know if this was supposed to be considered a bug or a feature request)