diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 58e5649e..fb73b3b4 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -1933,7 +1933,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 @@ -2067,7 +2067,7 @@ - + The wl_pointer interface represents one or more input devices, such as mice, which control the pointer location and pointer_focus @@ -2480,7 +2480,7 @@ - + The wl_keyboard interface represents one or more keyboards associated with a seat. @@ -2494,6 +2494,18 @@ By default, the active surface is null, the keys currently logically down are empty, the active modifiers and the active group are 0. + + Since version 11, clients must first negotiate the keymap format in order + to receive any keyboard event: + + 1. Client sends a set_supported_keymap_formats request, + 2. Server responds with either: + + - a keymap event, with the corresponding keymap_format being supported + by both the server and the client; the server is advised to use the + format with most features. + - a no_supported_keymap_format error if no common supported format is + found. @@ -2504,6 +2516,8 @@ + @@ -2659,9 +2673,32 @@ + + + + + + Inform the server of the keymap formats supported by the client, in + ascending order. + + If none of the formats is supported by the server, then a + no_supported_keymap_format error is triggered. + + Otherwise the server selects one of the provided format that it supports + itself and may start to send keyboard events. It is advised, but not + mandatory, to select the format with most features. + + + + + + + - + The wl_touch interface represents a touchscreen associated with a seat.