XTest equivalent on Gdk4 / Wayland

X11 provides XTest (X11/extensions/XTest.h) which can be used to move the cursor and send key events.

Constraining the needed functionality to:

  • Move the cursor
  • Send click events by mouse button
  • Send key events

I need a solution that would work with Wayland and X.

If this can be done with Gdk4 that would be nice.

No, it definitely can’t be done with GTK.

There’s also no equivalent for generic Wayland compositors.

Maybe create fake devices and control them?

No idea how that would be done.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.