summaryrefslogtreecommitdiff
path: root/protocol
diff options
context:
space:
mode:
authorAlexandros Frantzis <alexandros.frantzis@collabora.com>2017-12-18 12:16:55 +0200
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2017-12-18 13:18:00 +0200
commitb0341ae972531a6c3bcf43a7f8b66c44f8bc8e49 (patch)
treec9b0e9f1aad481c3c970690bcc0b98593496e528 /protocol
parentc20b580b5288d6ee6aa6bed4de165e2c191d3a28 (diff)
downloadweston-b0341ae972531a6c3bcf43a7f8b66c44f8bc8e49.tar.gz
tests: Add test for pointer axis events
Add test to verify the server correctly emits pointer axis events. This requires updating the weston-test protocol with a new request for pointer axis events. Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Diffstat (limited to 'protocol')
-rw-r--r--protocol/weston-test.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/protocol/weston-test.xml b/protocol/weston-test.xml
index fa3d15e1..00b7185d 100644
--- a/protocol/weston-test.xml
+++ b/protocol/weston-test.xml
@@ -53,6 +53,13 @@
<arg name="button" type="int"/>
<arg name="state" type="uint"/>
</request>
+ <request name="send_axis">
+ <arg name="tv_sec_hi" type="uint"/>
+ <arg name="tv_sec_lo" type="uint"/>
+ <arg name="tv_nsec" type="uint"/>
+ <arg name="axis" type="uint"/>
+ <arg name="value" type="fixed"/>
+ </request>
<request name="activate_surface">
<arg name="surface" type="object" interface="wl_surface" allow-null="true"/>
</request>