diff options
| author | Daniel Stone <daniel@fooishbar.org> | 2012-06-01 12:13:37 +0100 |
|---|---|---|
| committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-06-01 10:35:48 -0400 |
| commit | dff84e563896566e952f8a6704eadb8c09f27830 (patch) | |
| tree | 1b61fd7cfa01a7542cc9352c6f4a2bb1d55471f9 /protocol | |
| parent | data-device: Handle setting a NULL selection source (diff) | |
| download | wayland-dff84e563896566e952f8a6704eadb8c09f27830.tar wayland-dff84e563896566e952f8a6704eadb8c09f27830.tar.gz wayland-dff84e563896566e952f8a6704eadb8c09f27830.tar.bz2 wayland-dff84e563896566e952f8a6704eadb8c09f27830.tar.lz wayland-dff84e563896566e952f8a6704eadb8c09f27830.tar.xz wayland-dff84e563896566e952f8a6704eadb8c09f27830.tar.zst wayland-dff84e563896566e952f8a6704eadb8c09f27830.zip | |
Add wl_keyboard::keymap event
With this event, the compositor generates one canonical keymap for all
clients, and then sends an mmap()able fd over the wire, rather than all
the clients generating possibly disparate keymaps.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'protocol')
| -rw-r--r-- | protocol/wayland.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 9d93f4a..e9c6787 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -860,6 +860,24 @@ <description summary="keyboard input device"> </description> + <enum name="keymap_format"> + <description summary="keyboard mapping format"> + This enum specifies the format of the keymap provided to the client + with the wl_keyboard::keymap event. + </description> + <entry name="xkb_v1" value="1" description="libxkbcommon compatible"/> + </enum> + + <event name="keymap"> + <description summary="keyboard mapping"> + This event provides a file descriptor to the client which can be + memory-mapped to provide a keyboard mapping description. + </description> + <arg name="format" type="uint"/> + <arg name="fd" type="fd"/> + <arg name="size" type="uint"/> + </event> + <event name="enter"> <arg name="serial" type="uint"/> <arg name="surface" type="object" interface="wl_surface"/> |
