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>
This commit is contained in:
committed by
Pekka Paalanen
parent
a8e9b41578
commit
c8daf77f91
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user