Skip to content

Mouse clicks don't work when exiting stream whilst mouse control with gamepad is enabled #1597

Description

@themoonrat

Describe the bug
Server PC can be left without the ability to 'click' anymore.

Steps to reproduce

  • Open Moonlight on a Steam Deck
  • Enable "Enable mouse control with gamepads by holding the 'Start' button"
  • Launch into a steam (desktop is easiest to test)
  • Hold the 'Start' button to enable 'mouse with gamepad' mode
  • Press LB RB Start Select to exit the stream
  • On the Server PC, notice that the mouse moves around as normal, but 'clicks' don't work. Try to minimise windows, or select something on the taskbar.... nothing works.

Rejoining via the Steam Deck, turning 'mouse with gamepad' mode on and off and exiting again doesn't fix it.

The only way I've found to get 'clicks' working again is by pressing Ctrl+Alt+Del, and then on that screen pressing Esc or clicking cancel to get back to the desktop.

Affected games
It does not matter what you launch into, a game or the desktop, the issue occurs.

Other Moonlight clients
Android version of Moonlight, 12.1, does not have this issues.

Moonlight settings (please complete the following information)
Occurs with the default settings; you just need "Enable mouse control with gamepads by holding the 'Start' button" on.

Client PC details (please complete the following information)

  • OS: Steam OS
  • Moonlight Version: 6.1.0
  • GPU: Steam Deck APU
  • Linux package type (if applicable): Flatpak

Server PC details (please complete the following information)

  • OS: Windows 11 26100
  • Sunshine or GeForce Experience version: Sunshine 2025.122.141614 AND Apollo 0.3.4
  • GPU: Geforce RTX 4090
  • GPU driver: 576.28

Also reproduced on

  • OS: Windows 11 22631
  • Sunshine or GeForce Experience version: Sunshine 0.21.0
  • GPU: Geforce RTX 3070
  • GPU driver: 572.60

Moonlight Logs (please attach)
sunshine.log

Additional context
I raised this on Discord, and people replied that it looked like a bug and they could also reproduce - https://discordapp.com/channels/352065098472488960/465369864534491146/1372357258075181091

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions