moonlight-stream / moonlight-stream/moonlight-android

Bug: Moonlight not properly disconnecting USB virtual gamepad like it used to before exiting session

Open
#1,091 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
7.1k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

Version 10.5

So the problem is when I then go leave the TV and go to the host PC if I turn on the XBOX Wireless controller it connects on P2 mode also shows 2 gamepads connecting

It didn't used to do do that, also what I tried was on the Android Box instead of using a USB gamepad as usual I connected a bluetooth one instead which I can turn off - if I turn it off before exiting the moonlight session it works fine and PC removes the extra virtual device correctly

So the problem is when exiting it's not removing the devices properly like it used to but since not all controllers have a turn off feature this like the bluetooth one I used this needs to be addressed

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named. Start by reproducing the issue on Android TV with a USB controller, then compare session exit with the Bluetooth-controller case. Done means the virtual gamepad is removed when the session ends and a later Xbox controller connects only once in the expected mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.