tests: Add test for touch event timestamps

Add test to verify that the server correctly sets the timestamps of
touch events. This requires updating the weston-test protocol with a new
request for touch events.

Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
Alexandros Frantzis
2017-12-13 13:27:58 +02:00
committed by Pekka Paalanen
parent dae224c6dc
commit c20b580b52
6 changed files with 114 additions and 5 deletions
+9
View File
@@ -89,6 +89,15 @@
provided buffer.
</description>
</event>
<request name="send_touch">
<arg name="tv_sec_hi" type="uint"/>
<arg name="tv_sec_lo" type="uint"/>
<arg name="tv_nsec" type="uint"/>
<arg name="touch_id" type="int"/>
<arg name="x" type="fixed"/>
<arg name="y" type="fixed"/>
<arg name="touch_type" type="uint"/>
</request>
</interface>
<interface name="weston_test_runner" version="1">