Add touch events to protocol.
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>
Wed, 29 Jun 2011 14:54:11 +0000 (17:54 +0300)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 29 Jun 2011 16:51:39 +0000 (12:51 -0400)
protocol/wayland.xml

index fd54245..8d8afa4 100644 (file)
       <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>