mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-05-21 04:08:18 +02:00
The protocol itself could work like originally described here but there's a stumbling block: the decision on whether to accept a device is made by the caller through EIS_EVENT_DEVICE_ADDED and the following eis_device_connect() call. We cannot process any events from that device until that call is complete and that effectively disallows batch submission of requests. To allow batching we'd have to pause the protocol but that means missing out on other devices (and their events) and disconnect events. The alternative to that would be for libeis to peek at incoming requests and sort them by device ID so we only pause one device's stream but now we're also mangling the device event order and potentially triggering all sorts of side-effects. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> |
||
|---|---|---|
| .. | ||
| ei.proto | ||
| meson.build | ||