<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 31, 2015 at 6:59 AM, Carlos Garnacho <span dir="ltr"><<a href="mailto:carlosg@gnome.org" target="_blank">carlosg@gnome.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
+    <event name="update"><br>
</span>+      <description summary="multi-finger pinch motion"><br>
+       This event is sent when a multi-finger pinch gesture changes the<br>
+       position of the logical center, the rotation or the relative scale.<br>
+<br>
+       The dx and dy coordinates are relative coordinates in the<br>
+       surface coordinate space of the logical center of the gesture.<br>
+<br>
+       The scale factor is an absolute scale compared to the<br>
+       pointer_gesture_pinch.begin event, e.g. a scale of 2 means the fingers<br>
+       are now twice as far apart as on pointer_gesture_pinch.begin.<br>
+<br>
+       The rotation is the relative angle in degrees clockwise compared to the previous<br>
+       pointer_gesture_pinch.begin or pointer_gesture_pinch.update event.<br>
<span class="">+      </description><br>
+      <arg name="time" type="uint" summary="timestamp with millisecond granularity"/><br>
+      <arg name="dx" type="fixed" summary="delta x coordinate in surface coordinate space"/><br>
+      <arg name="dy" type="fixed" summary="delta y coordinate in surface coordinate space"/><br>
</span>+      <arg name="scale" type="fixed" summary="scale relative to the initial finger position"/><br>
+      <arg name="rotation" type="fixed" summary="angle in degrees cw relative to the previous event"/><br>
<span class="">+    </event></span></blockquote><div><br></div><div>This is something that would have to be changed in libinput, but it would be a lot easier on clients if the data was consistently relative to the initial begin event, rather than the scale being relative to the begin event while the rotation is relative to the previous event. Also it would be nice if the rotation was counter-clockwise as that is what positive angles mean in most graphics libraries.<br><br></div></div></div></div>