diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 5a6a189d..b204f133 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -1906,7 +1906,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 @@ -2040,7 +2040,7 @@ - + The wl_pointer interface represents one or more input devices, such as mice, which control the pointer location and pointer_focus @@ -2453,7 +2453,7 @@ - + The wl_keyboard interface represents one or more keyboards associated with a seat. @@ -2467,6 +2467,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. @@ -2477,6 +2489,8 @@ + @@ -2632,9 +2646,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.