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:
committed by
Pekka Paalanen
parent
dae224c6dc
commit
c20b580b52
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user