mouse-rs
mouse-rs copied to clipboard
Wayland support
Currently we only support X11, with the fast adoption of wayland we need to provide native support
Judging from the ashpd demo, you can use the Remote Desktop portal to request control access, and Screen Cast to get the cursor metadata. I hope this simplifies it for you a bit.
Coming back to this, I'd like to suggest a Wayland protocol be added upstream that allows apps to both view and emulate input, similar to Android, and it would go through xdg-desktop-portal to obtain permission. How does this sound?