Open gftabor opened 2 weeks ago
I think because WSLg uses wayland first I should be using sudo libinput list-devices instead of xinput to get devices, but that returns nothing.
It looks like that should build off /dev/input but that doesn't exist in WSLG
from
https://wayland.freedesktop.org/libinput/doc/latest/what-is-libinput.html
Is your feature request related to a problem:
Not sure if this is possible, but my goal is to use WSL2 with a second mouse that can only interact within a linux application. Using usbipd-win I am able to pass the host mouse through to Ubuntu. The mouse is visible to lsusb.
However, it does not move the cursor when in a linux gui application and is not detected by xinput.
https://github.com/dorssel/usbipd-win/issues/981
My final goal would be to be able to click inside an application that is not focused on a second mouse while using my primary mouse for other tasks. This would be easily achievable with a traditional VM.
Describe the solution you'd like:
Second mouse to be registered inside linux where linux sees 2 mice, 1 from the direct pass-through and the other whenever my application is in focus. Currently, it only seems to be the latter.
Describe alternatives you've considered:
Only support pass-through mouse instead of the mouse from native system.
Additional context:
No response