tests: Add checks for pointer motion and button event timestamps
Enhance the existing pointer motion and button event tests to additionally verify the event timestamps. This requires updating the weston-test protocol to support passing motion and button event timestamps. 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
10d708d268
commit
2180858592
@@ -40,10 +40,16 @@
|
||||
<arg name="y" type="int"/>
|
||||
</request>
|
||||
<request name="move_pointer">
|
||||
<arg name="tv_sec_hi" type="uint"/>
|
||||
<arg name="tv_sec_lo" type="uint"/>
|
||||
<arg name="tv_nsec" type="uint"/>
|
||||
<arg name="x" type="int"/>
|
||||
<arg name="y" type="int"/>
|
||||
</request>
|
||||
<request name="send_button">
|
||||
<arg name="tv_sec_hi" type="uint"/>
|
||||
<arg name="tv_sec_lo" type="uint"/>
|
||||
<arg name="tv_nsec" type="uint"/>
|
||||
<arg name="button" type="int"/>
|
||||
<arg name="state" type="uint"/>
|
||||
</request>
|
||||
|
||||
Reference in New Issue
Block a user