Hacker News new | ask | show | jobs
by torginus 140 days ago
I'm not familiar with the space, but wouldnt something that streams the whole screen like a video (WebRTC or Moonlight and VNC works like this ) work here too as well, and would be universal? Wayland already supports screen capture (into a texture, at interactive framerates) fairly well.
1 comments

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.
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