moonlight-stream / moonlight-common-android

Android common library - now embedded in Moonlight Android
GNU General Public License v3.0
115 stars 31 forks source link

Multicontroller support #16

Closed usernamesolent closed 7 years ago

usernamesolent commented 7 years ago

I am not sure if it should be here or in android section.

When playing on two controllers (wireless xbox 360 or two bluetooth, or bluetooth plus wireless xbox 360) users cannot press same button at the same time. It happens for A B X Y buttons, I am not sure how about the others. It only happens for Android, when I am streaming to chrome extension it is working fine. I believe it is the same for the bigger number of controllers. It is same for every game. For example pressing A plus A on other controller at the same time is registered only for the user which pressed it first.
It is not an issue of my android I have tested on http://html5gamepad.com/ it is detecting press on two controllers with accuracy of 1ms.

I think there might be an issue while queuing up signals to or from android. When the same button (for example A) is send to or from android then the second one is dropped.

cgutman commented 7 years ago

Confirmed. Likely not a moonlight-common bug, probably a bug in the Android client.

cgutman commented 7 years ago

Fixed by https://github.com/moonlight-stream/moonlight-android/commit/8aba4888e16540f571bae1a18f1d670a51bde30b