libei/tools
Peter Hutterer 6b3d9255cf libei: implement org.freedesktop.portal.EmulatedInput support
The current implementation of that portal has two methods: EmulateInput to
authenticate and Connect to get the fd to the EIS implementation. The portal
implementation is in charge of finding EIS and restricting it if need be.

This uses libsystemd because we can integrate that with epoll and our
libei_dispatch() method. GDBus requires a glib mainloop, so it's not really
suitable here. Given how simple this is anyway, it's easy to just do the DBus
bits in the caller and then hand the fd to ei_setup_backend_fd().

A eis-fake-portal is provided for testing, this "portal" can use the custom
portal bus name and connect the eis-demo-client to the eis-demo-server.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2020-08-25 13:35:18 +10:00
..
ei-demo-client.c libei: implement org.freedesktop.portal.EmulatedInput support 2020-08-25 13:35:18 +10:00
eis-demo-server.c tools/demo-server: add support for keymap overrides 2020-08-25 11:37:18 +10:00
eis-fake-portal.c libei: implement org.freedesktop.portal.EmulatedInput support 2020-08-25 13:35:18 +10:00