From 5331dc0bf25df73a5528cb0d0fc62ea0ebacfbd5 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 25 Jul 2024 11:54:48 +1000 Subject: [PATCH] proto: the keymap event is optional, clarify that A device may not have a keymap in which case it just sends scancodes hoping they'll be mapped to something sensible. --- proto/protocol.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto/protocol.xml b/proto/protocol.xml index 5f20a37..00a1925 100644 --- a/proto/protocol.xml +++ b/proto/protocol.xml @@ -1338,7 +1338,7 @@ description. The fd must be mapped with MAP_PRIVATE by the recipient, as MAP_SHARED may fail. - This event is sent immediately after the ei_keyboard object is created + This event is optional and only sent immediately after the ei_keyboard object is created and before the ei_device.done event. It is a protocol violation to send this event after the ei_device.done event.