libei/tools
Peter Hutterer 9d85b1289d Change to allow dynamic binding of capabilities
Previously, a client could only bind to a capability immediately after
SEAT_ADDED and with a rather awkward API to confirm the capabilities.

Change this to allow for dynamic binding of capabilities, i.e. a client
calls ei_bind_capability() or ei_unbind_capability() whenever it feels
like, causing the respective devices of this capabilty to be added or
removed.

This allows for clients that are temporarily disinterested in a
capability but may require said capability later.

The default function takes one capability, a helper for enable/disable
multiple capabilities in one go is provided as well. On the protocol,
only the "bind" request exists which always represents the currently
wanted set of capabilities.

Note that the helper functions for multiple capabilities require NULL
(not zero) as sentinel, thanks to gcc.
2022-04-04 05:24:16 +00:00
..
ei-demo-client.c Change to allow dynamic binding of capabilities 2022-04-04 05:24:16 +00:00
eis-demo-server-uinput.c Change to allow dynamic binding of capabilities 2022-04-04 05:24:16 +00:00
eis-demo-server.c Change to allow dynamic binding of capabilities 2022-04-04 05:24:16 +00:00
eis-demo-server.h Add SPDX identifiers to all source files 2022-03-03 00:27:36 +00:00
eis-fake-impl-portal.c util: add a helper for fetching the cmdline. 2022-03-03 00:43:02 +00:00
eis-fake-portal.c util: add a helper for fetching the cmdline. 2022-03-03 00:43:02 +00:00