summaryrefslogtreecommitdiff
path: root/protocol
diff options
context:
space:
mode:
authorMarek Chalupa <mchqwerty@gmail.com>2015-03-30 06:37:55 -0400
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2015-03-31 10:12:39 +0300
commitc8daf77f91dabff9d9c8a17de36c7b17591025a9 (patch)
treef9b08c693eeee506917e910df7880a499e115c18 /protocol
parenta8e9b415784bf978722caa3d53b4a99a064b060a (diff)
downloadweston-c8daf77f91dabff9d9c8a17de36c7b17591025a9.tar.gz
weston-test: add device_{release/add} into protocol
This request simulates device creation/destruction from evdev (libinput) v2: added support for touch. Touch is not supported yet, but better be prepared Signed-off-by: Marek Chalupa <mchqwerty@gmail.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Diffstat (limited to 'protocol')
-rw-r--r--protocol/weston-test.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/protocol/weston-test.xml b/protocol/weston-test.xml
index 17c7565f..538d6680 100644
--- a/protocol/weston-test.xml
+++ b/protocol/weston-test.xml
@@ -56,6 +56,12 @@
<arg name="key" type="uint"/>
<arg name="state" type="uint"/>
</request>
+ <request name="device_release">
+ <arg name="device" type="string"/>
+ </request>
+ <request name="device_add">
+ <arg name="device" type="string"/>
+ </request>
<event name="pointer_position">
<arg name="x" type="fixed"/>
<arg name="y" type="fixed"/>