libei/src
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
..
brei-shared.c brei: fix a compiler warning in release mode 2020-08-24 12:30:25 +10:00
brei-shared.h brei: hook up the brei message so we can retrieve an fd 2020-08-21 15:25:27 +10:00
libei-device.c Add size handling for the keymap 2020-08-21 18:57:25 +10:00
libei-fd.c libei: replace the logger utility with a custom logger handling 2020-08-20 14:44:38 +10:00
libei-log.c libei: replace the logger utility with a custom logger handling 2020-08-20 14:44:38 +10:00
libei-portal.c libei: implement org.freedesktop.portal.EmulatedInput support 2020-08-25 13:35:18 +10:00
libei-private.h libei: implement org.freedesktop.portal.EmulatedInput support 2020-08-25 13:35:18 +10:00
libei-proto.c Add size handling for the keymap 2020-08-21 18:57:25 +10:00
libei-proto.h Add size handling for the keymap 2020-08-21 18:57:25 +10:00
libei-socket.c util: add xconnect to connect to a socket 2020-08-25 11:47:07 +10:00
libei-stubs.c libei: implement org.freedesktop.portal.EmulatedInput support 2020-08-25 13:35:18 +10:00
libei.c libei: implement org.freedesktop.portal.EmulatedInput support 2020-08-25 13:35:18 +10:00
libei.h libei: implement org.freedesktop.portal.EmulatedInput support 2020-08-25 13:35:18 +10:00
libeis-client.c libeis: fix the client-side keymap assignment 2020-08-25 11:37:18 +10:00
libeis-device.c libeis: fix the client-side keymap assignment 2020-08-25 11:37:18 +10:00
libeis-event.c libeis: replace the logger utility with a custom logger handling 2020-08-20 14:44:38 +10:00
libeis-fd.c libeis: replace the logger utility with a custom logger handling 2020-08-20 14:44:38 +10:00
libeis-log.c libeis: replace the logger utility with a custom logger handling 2020-08-20 14:44:38 +10:00
libeis-private.h libeis: fix the client-side keymap assignment 2020-08-25 11:37:18 +10:00
libeis-proto.c Add size handling for the keymap 2020-08-21 18:57:25 +10:00
libeis-proto.h Add size handling for the keymap 2020-08-21 18:57:25 +10:00
libeis-socket.c Fix maybe-uninitialized warnings 2020-08-20 16:07:54 +10:00
libeis.c libeis: replace the logger utility with a custom logger handling 2020-08-20 14:44:38 +10:00
libeis.h libeis: correct the name of the set_keymap function 2020-08-25 11:37:18 +10:00
libreis.c Add configuration messages to the protocol 2020-08-07 16:05:57 +10:00
libreis.h libreis: update the API docs a bit 2020-08-10 08:42:25 +10:00
util-bits.h util: add flag_set and flag_clear helpers 2020-08-06 15:19:03 +10:00
util-color.h util: move the ansi color escape sequences into a separate header 2020-08-20 14:44:38 +10:00
util-io.c test: move the sources and io tests to the util unit tests 2020-08-25 11:37:18 +10:00
util-io.h util: add xconnect to connect to a socket 2020-08-25 11:47:07 +10:00
util-list.c test: make a separate binary for the utils tests 2020-08-25 11:37:18 +10:00
util-list.h Add the minimal implementation for a UNIX socket libeis server 2020-07-28 19:33:34 +10:00
util-logger.c util: fix use of uninitialized variable 2020-08-20 16:07:54 +10:00
util-logger.h util: remove a libinput leftover 2020-08-20 14:44:38 +10:00
util-macros.h util: add a wrapper macro for running code only once 2020-08-20 14:44:38 +10:00
util-mem.h util: add a realloc helper 2020-08-07 09:42:08 +10:00
util-memfile.c utils: basic helper for creating a file in memory 2020-08-21 16:03:34 +10:00
util-memfile.h utils: basic helper for creating a file in memory 2020-08-21 16:03:34 +10:00
util-munit.c Factor out munit test handling into a set of helpers 2020-08-20 14:44:38 +10:00
util-munit.h Factor out munit test handling into a set of helpers 2020-08-20 14:44:38 +10:00
util-object.h utils: Rename OBJECT_DECLARE... to OBJECT_IMPLEMENT 2020-08-03 07:34:52 +10:00
util-sources.c libei: implement org.freedesktop.portal.EmulatedInput support 2020-08-25 13:35:18 +10:00
util-sources.h libei: implement org.freedesktop.portal.EmulatedInput support 2020-08-25 13:35:18 +10:00
util-strings.c test: make a separate binary for the utils tests 2020-08-25 11:37:18 +10:00
util-strings.h libei: replace the logger utility with a custom logger handling 2020-08-20 14:44:38 +10:00
util-structs.h libei: add the hooks for pointer/touch ranges 2020-08-18 14:42:23 +10:00
util-tristate.h util: add name lookup to tristate handling 2020-08-11 11:06:34 +10:00