ClassicOldSong / moonlight-android

GameStream client for Android
GNU General Public License v3.0
330 stars 9 forks source link

[Issue]: "Double Click Issue with Mouse on Mi Box S 2nd Generation" #49

Open Gustavo14832 opened 3 weeks ago

Gustavo14832 commented 3 weeks ago

Describe the bug

The double click bug with the mouse is a native issue of the Mi Box itself. However, it would be beneficial to have a way through Artemis to resolve this problem, allowing users to utilize the mouse normally.

Steps to reproduce

.

Affected games

.

Other Moonlight clients

None

Moonlight adjusted settings

None

Moonlight adjusted settings (please complete the following information)

.

Moonlight default settings

Yes

Gamepad-related connection issue

Yes

Gamepad-related input issue

Yes

Gamepad-related streaming issue

Yes

Android version

Android 11

Device model

Mi box s 2nd

Server PC OS version

Windows 10

Server PC GeForce Experience version

.

Server PC Nvidia GPU driver version

538.46

Server PC antivirus and firewall software

Windows defender

Screenshots

.

Relevant log output

.

Additional context

.

ClassicOldSong commented 3 weeks ago

I need a physical device to determine how the double click happens and if there's a way to resolve it.

It should be a bug report to Xiaomi but a feature request here.

Gustavo14832 commented 3 weeks ago

From what I've been researching about why this happens, I got the answer that the mi box understands that clicking the left mouse button also means pressing the DPAD_CENTER on the remote control, causing 2 commands to be executed at the same time, xiaomi I should have fixed this error a long time ago but so far nothing has happened.

ClassicOldSong commented 3 weeks ago

Searching through the codebase I can't find any reference that mapped DPAD_CENTER to left click, I still need a physical device to test out the behavior...

Gustavo14832 commented 2 days ago

After some time searching for possible solutions, I found a few alternatives that might solve the problem.

  1. Add an option to change the recognition of a double-click.

  2. An option to invert the mouse buttons, making the right one behave like the left. (Maybe this doesn't make much sense since Windows offers this option, but some Reddit users have solved their problems this way.)

  3. After using Parsec on the Mi Box, I noticed that the double-click doesn't occur there, so there might be something that Parsec implemented that could solve my problem. (My guess would be the immersive mode)