Hi,

using Cachyos kde I’ve been making a python script that will move the mouse to a position -> click -> move mouse back to the original position. I can get this working with x11, but it fails with wayland.

Do you know any way to programatically move the mouse and click that works with wayland?

Thanks

  • edinbruh@feddit.it
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    18 hours ago

    Interesting, I didn’t know you could do that through the portal directly.

    I was only familiar with uinput because I have used it before to use a wiimote as a mouse, and for that you’d actually want to emulate a mouse.