mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-02 09:01:39 -05:00
Add protocol for axis events
This commit is contained in:
parent
7746a80e2a
commit
75480a1eeb
1 changed files with 16 additions and 0 deletions
|
|
@ -670,6 +670,22 @@
|
|||
<arg name="state" type="uint"/>
|
||||
</event>
|
||||
|
||||
<enum name="axis">
|
||||
<description summary="axis types"/>
|
||||
<entry name="vertical_scroll" value="0"/>
|
||||
<entry name="horizontal_scroll" value="1"/>
|
||||
</enum>
|
||||
|
||||
<event name="axis">
|
||||
<description summary="axis event">
|
||||
Scroll and other axis notifications.
|
||||
</description>
|
||||
|
||||
<arg name="time" type="uint"/>
|
||||
<arg name="axis" type="uint"/>
|
||||
<arg name="value" type="int"/>
|
||||
</event>
|
||||
|
||||
<event name="key">
|
||||
<description summary="key event">
|
||||
A key was pressed or released.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue