Commit dff84e56 authored by Daniel Stone's avatar Daniel Stone Committed by Kristian Høgsberg
Browse files

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's avatarDaniel Stone <>
parent 07602976
......@@ -860,6 +860,24 @@
<description summary="keyboard input device">
<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.
<entry name="xkb_v1" value="1" description="libxkbcommon compatible"/>
<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.
<arg name="format" type="uint"/>
<arg name="fd" type="fd"/>
<arg name="size" type="uint"/>
<event name="enter">
<arg name="serial" type="uint"/>
<arg name="surface" type="object" interface="wl_surface"/>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment