any1 / wayvnc

A VNC server for wlroots based Wayland compositors
ISC License
1.1k stars 68 forks source link

Input emulation via libei #343

Open mahkoh opened 1 week ago

mahkoh commented 1 week ago

libei should provide most of the functionality needed. The primary difference is that libei does not allow the client to set a keymap.

One problem is that there is currently no way to map libei regions to wl_outputs for absolute pointer movements. I have opened https://gitlab.freedesktop.org/libinput/libei/-/issues/65 for this.

Is this something you are interested in?

any1 commented 1 week ago

I never really understood why we need a library for this, but if someone wants to implement a libei backend and help to maintain it, I'll probably accept it.

It would be best to load libei using dlopen to keep it fully optional.