mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-03 09:01:42 -05:00
docs: Improve wl_keyboard protocol docs
Some descriptions were missing here.
This commit is contained in:
parent
3f4008acb3
commit
608d81bfd5
1 changed files with 19 additions and 6 deletions
|
|
@ -1313,12 +1313,14 @@
|
||||||
|
|
||||||
<interface name="wl_keyboard" version="1">
|
<interface name="wl_keyboard" version="1">
|
||||||
<description summary="keyboard input device">
|
<description summary="keyboard input device">
|
||||||
|
The wl_keyboard interface represents one or more keyboards
|
||||||
|
associated with a seat.
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<enum name="keymap_format">
|
<enum name="keymap_format">
|
||||||
<description summary="keyboard mapping format">
|
<description summary="keyboard mapping format">
|
||||||
This enum specifies the format of the keymap provided to the client
|
This specifies the format of the keymap provided to the
|
||||||
with the wl_keyboard::keymap event.
|
client with the wl_keyboard.keymap event.
|
||||||
</description>
|
</description>
|
||||||
<entry name="xkb_v1" value="1" description="libxkbcommon compatible"/>
|
<entry name="xkb_v1" value="1" description="libxkbcommon compatible"/>
|
||||||
</enum>
|
</enum>
|
||||||
|
|
@ -1334,12 +1336,23 @@
|
||||||
</event>
|
</event>
|
||||||
|
|
||||||
<event name="enter">
|
<event name="enter">
|
||||||
|
<description summary="enter event">
|
||||||
|
Notification that this seat's keyboard focus is on a certain
|
||||||
|
surface.
|
||||||
|
</description>
|
||||||
<arg name="serial" type="uint"/>
|
<arg name="serial" type="uint"/>
|
||||||
<arg name="surface" type="object" interface="wl_surface"/>
|
<arg name="surface" type="object" interface="wl_surface"/>
|
||||||
<arg name="keys" type="array"/>
|
<arg name="keys" type="array" summary="the currently pressed keys"/>
|
||||||
</event>
|
</event>
|
||||||
|
|
||||||
<event name="leave">
|
<event name="leave">
|
||||||
|
<description summary="leave event">
|
||||||
|
Notification that this seat's keyboard focus is no longer on
|
||||||
|
a certain surface.
|
||||||
|
|
||||||
|
The leave notification is sent before the enter notification
|
||||||
|
for the new focus.
|
||||||
|
</description>
|
||||||
<arg name="serial" type="uint"/>
|
<arg name="serial" type="uint"/>
|
||||||
<arg name="surface" type="object" interface="wl_surface"/>
|
<arg name="surface" type="object" interface="wl_surface"/>
|
||||||
</event>
|
</event>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue