mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-04-07 08:21:33 -04:00
Merge branch 'jorth/pressed_keys' into 'main'
protocol: add wl_keyboard.keys event See merge request wayland/wayland!406
This commit is contained in:
commit
ec8f8be4b6
1 changed files with 18 additions and 0 deletions
|
|
@ -2515,6 +2515,10 @@
|
||||||
|
|
||||||
From version 7 onwards, the fd must be mapped with MAP_PRIVATE by
|
From version 7 onwards, the fd must be mapped with MAP_PRIVATE by
|
||||||
the recipient, as MAP_SHARED may fail.
|
the recipient, as MAP_SHARED may fail.
|
||||||
|
|
||||||
|
From version 10 onwards, if the wl_keyboard has an active surface
|
||||||
|
immediately before this event, the compositor must send modifiers and
|
||||||
|
keys events immediately after this event.
|
||||||
</description>
|
</description>
|
||||||
<arg name="format" type="uint" enum="keymap_format" summary="keymap format"/>
|
<arg name="format" type="uint" enum="keymap_format" summary="keymap format"/>
|
||||||
<arg name="fd" type="fd" summary="keymap file descriptor"/>
|
<arg name="fd" type="fd" summary="keymap file descriptor"/>
|
||||||
|
|
@ -2659,6 +2663,20 @@
|
||||||
<arg name="delay" type="int"
|
<arg name="delay" type="int"
|
||||||
summary="delay in milliseconds since key down until repeating starts"/>
|
summary="delay in milliseconds since key down until repeating starts"/>
|
||||||
</event>
|
</event>
|
||||||
|
|
||||||
|
<!-- Version 10 additions -->
|
||||||
|
|
||||||
|
<event name="keys" since="10">
|
||||||
|
<description summary="logically down keys">
|
||||||
|
Notifies the client that the set of logically down keys has changed.
|
||||||
|
|
||||||
|
In the wl_keyboard logical state, this event replaces the keys currently
|
||||||
|
logically down. The compositor must not send this event if the
|
||||||
|
wl_keyboard did not have an active surface immediately before this
|
||||||
|
event.
|
||||||
|
</description>
|
||||||
|
<arg name="keys" type="array" summary="the keys currently logically down"/>
|
||||||
|
</event>
|
||||||
</interface>
|
</interface>
|
||||||
|
|
||||||
<interface name="wl_touch" version="10">
|
<interface name="wl_touch" version="10">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue