summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>2011-06-29 17:54:11 +0300
committerKristian Høgsberg <krh@bitplanet.net>2011-06-29 12:51:39 -0400
commitaa7bbb210b7121b9314993228960240358e9b123 (patch)
tree70843dbba121833d0085e1cab22b2cc03e5565bf
parent40b0a6bf630b45550ec1e5e62395006cbf4223aa (diff)
Add touch events to protocol.
-rw-r--r--protocol/wayland.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index fd54245..8d8afa4 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -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>