[Issue]: Incorrect mouse buttons in Samsung DeX
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- android
- Domain
- mobile-dev
Research direction
Reproduce the issue on a Samsung Z Fold5 in DeX mode using the W3C mouse-event viewer, then compare the reported right- and middle-click signals with normal mode. The payload names no source file, test, or log output; done means those buttons are forwarded correctly in DeX and the affected applications respond as expected.
Written by the indexing model from the issue text.
Description
Describe the bug
When using hardware mouse with Samsung phone in DeX mode, the right click and middle click signals are not accurately sent (??) to sunshine. Some applications just cannot pick up user's middle click and right click. More specifically see below steps to reproduce.
This does not happen to the same phone in the normal, non-DeX mode.
Steps to reproduce
Test a Samsung phone with this website:
https://w3c.github.io/uievents/tools/mouse-event-viewer.html
This is in DeX mode (abnormal):
This is in normal, non-DeX mode:
This difference will causes applications below not able to respond to user mouse action correctly.
Affected games
Many applications. E.g.:
- Chromium cannot close tab using middle click
- FreeCAD cannot use middle click to navigate
- Onlyoffice (flatpak) cannot use right click to show menu
Other Moonlight clients
PC
Moonlight adjusted settings
No
Moonlight adjusted settings (please complete the following information)
Nope.
Moonlight default settings
Yes
Gamepad-related connection issue
No
Gamepad-related input issue
No
Gamepad-related streaming issue
Yes
Android version
Android 14 (One UI 6.1.1)
Device model
Samsung Z Fold5
Server PC OS version
Archlinux
Server PC GeForce Experience version
Sunshine v2025.122.141614
Server PC Nvidia GPU driver version
Intel in KVM
Server PC antivirus and firewall software
Nope
Screenshots
No response
Relevant log output
Additional context
No response
- Dominant language
- C
- Stars
- 7.1k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from moonlight-stream/moonlight-android
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 45/100
moonlight-stream/moonlight-android#1602 · 1 comment ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
moonlight-stream/moonlight-android#1601 · 4 comments ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
All issues in moonlight-stream/moonlight-android
Similar issues
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
HarbourMasters/Shipwright#7229 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
riscv-software-src/riscv-isa-sim#2435 · 1 comment ·
-
bug Self Built Image SNAPSHOT Supported Device target/ramips
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100