Hacker News new | ask | show | jobs
by Tajnymag 132 days ago
I'd say the problematic part is not capturing the desktop but injecting controls into it. Proper universal support for simulated input is still missing.
1 comments

I have not used Wayland specifically, but did do this for X11, Windows, Qt, too much stuff to count... It usually takes the form of an api call like

DispatchEvent(&MouseEvent{MOUSE_L, 1345, 3432});

It's almost literally always this