mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-02 09:01:39 -05:00
Add touch events to protocol.
This commit is contained in:
parent
40b0a6bf63
commit
aa7bbb210b
1 changed files with 27 additions and 0 deletions
|
|
@ -461,6 +461,33 @@
|
|||
<arg name="surface" type="object" interface="wl_surface"/>
|
||||
<arg name="keys" type="array"/>
|
||||
</event>
|
||||
|
||||
<event name="touch_down">
|
||||
<arg name="time" type="uint"/>
|
||||
<arg name="id" type="int" />
|
||||
<arg name="x" type="int" />
|
||||
<arg name="y" type="int" />
|
||||
</event>
|
||||
|
||||
<event name="touch_up">
|
||||
<arg name="time" type="uint"/>
|
||||
<arg name="id" type="int" />
|
||||
</event>
|
||||
|
||||
<event name="touch_motion">
|
||||
<arg name="time" type="uint"/>
|
||||
<arg name="id" type="int" />
|
||||
<arg name="x" type="int" />
|
||||
<arg name="y" type="int" />
|
||||
</event>
|
||||
|
||||
<!-- Indicates the end of a contact point list. -->
|
||||
<event name="touch_frame"/>
|
||||
|
||||
<!-- Sent if the compositor decides the touch stream is a global
|
||||
gesture. No further events are sent to the clients from that
|
||||
particular gesture. -->
|
||||
<event name="touch_cancel"/>
|
||||
</interface>
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue