libei/test
Peter Hutterer 5f9e181073 proto: add support for requesting devices
Add support for a client to request the creation of a new device
from the EIS implementation. This is necessary in situations where the
devices created by the EIS implementation are not (or no longer)
suitable for the client to function correctly.

The primary use-case of this is the upcoming tablet tool support where a
client may need to create multiple tablet tools in response to a new
physical tool brought into proximity locally.

Other use-cases include a client closing a device but requiring that
device (or one with similar capabilities) later.

The implementation in libei is straightforward
- on the client side we have a new function to request the new device:
  ei_seat_request_device_with_capabilities()
- on the server side we have a new event EIS_EVENT_SEAT_DEVICE_REQUESTED
  that can make use of the existing eis_event_seat_has_capability() API

Part-of: <https://gitlab.freedesktop.org/libinput/libei/-/merge_requests/345>
2026-01-06 04:50:46 +00:00
..
templates test: drop a bunch of unused imports 2023-02-15 08:20:01 +10:00
buildtest.c Purge libreis from the repo 2023-02-09 11:48:28 +10:00
buildtest.cc test: make the c++ build test mirror the c build test 2024-12-02 00:23:14 +00:00
conftest.py test: run pytest with xdist where available 2023-03-03 11:27:01 +10:00
eierpecken.c proto: add support for requesting devices 2026-01-06 04:50:46 +00:00
eierpecken.h test: declare the need_frame check as part of the context 2025-12-15 05:29:54 +00:00
eiproto.py.tmpl test: drop the use of attr 2024-12-10 05:06:49 +00:00
meson.build meson.build: apply consistent indentation 2025-11-06 10:56:01 +10:00
test-ei-device.c test: change peck_new_context to take varargs 2025-07-24 11:07:32 +10:00
test-ei-seat.c proto: add support for requesting devices 2026-01-06 04:50:46 +00:00
test-ei.c test: declare the need_frame check as part of the context 2025-12-15 05:29:54 +00:00
test-eis.c test: declare the need_frame check as part of the context 2025-12-15 05:29:54 +00:00
test-main.c Remove empty trailing newlines from all files 2023-03-13 08:52:08 +10:00
test_oeffis.py test: rename a variable to shut up ruff with default args 2024-12-10 05:06:49 +00:00
test_protocol.py proto: add support for requesting devices 2026-01-06 04:50:46 +00:00
test_scanner.py Reformat for ruff 0.9 2025-02-03 13:17:34 +10:00
unit-tests.c Add SPDX identifiers to all source files 2022-03-03 00:27:36 +00:00