From eecd2126bf7ae8ccb1db9f00e7779026ef64f206 Mon Sep 17 00:00:00 2001 From: Sebastian Wick Date: Sun, 16 Feb 2020 20:48:02 +0100 Subject: [PATCH] protocol: introduce logical keyboards fixes a bunch of problems: * keyboards with different keymaps * keyboard-input protocol kind of needs this * multiplayer games on different keyboards Signed-off-by: Sebastian Wick --- protocol/wayland.xml | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/protocol/wayland.xml b/protocol/wayland.xml index f1d95c7a..70eb2dba 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -1723,7 +1723,7 @@ - + A seat is a group of keyboards, pointer and touch devices. This object is published as a global during start up, or when such a @@ -2155,7 +2155,7 @@ - + The wl_keyboard interface represents one or more keyboards associated with a seat. @@ -2267,6 +2267,25 @@ + + + + + + This event is sent at least once before any key, modifiers and keymap events. + Each following key, modifiers and keymap event belongs to the logical keyboard with the ID of the most recent logical_keyboard event. + + + + + + + The logical keyboard with ID will receive no further events. + This means in particular that the keymap associated with this + logical keyboard is no longer needed. + + +