ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.13k stars 174 forks source link

Steam Input mouse control does not work properly under wayland #10814

Closed Managor closed 3 weeks ago

Managor commented 3 weeks ago

Your system information

Please describe your issue in as much detail as possible:

Demonstrative video: https://www.youtube.com/watch?v=QFcM7Wu0YqU Using a controller to move the mouse on a Wayland desktop works really poorly. Firstly the cursor does not move. Instead an invisible cursor moves around the XWayland windows. It does work as expected in those windows, but any native Wayland window just doesn't respond. I assume this is because Steam manipulates the X11 mouse directly. To fix this I think steam should instead create a virtual input device instead of trying to manipulate the X11 mouse directly.

Steps for reproducing this issue:

  1. Use Steam Input to set mouse movement in the desktop config
  2. Move the mouse on the desktop using a controller

Result:

An invisible cursor works in XWayland windows and nothing happens in native Wayland windows

Expected:

The controller should move the Wayland mouse.

kisak-valve commented 3 weeks ago

Hello @Managor, this issue is already being tracked at #8604. Closing as a duplicate.