From c20d50eb6f5e7f171e75e97f1228daf6c12c6c15 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 21 Jun 2018 14:07:02 +1000 Subject: [PATCH] tools: libinput-replay: set INPUT_PROP_* properties on the device Fixes https://gitlab.freedesktop.org/libinput/libinput/issues/60 Signed-off-by: Peter Hutterer --- tools/libinput-replay | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/libinput-replay b/tools/libinput-replay index 6f1be9ac..91e50aaf 100755 --- a/tools/libinput-replay +++ b/tools/libinput-replay @@ -89,6 +89,10 @@ def create(device): data = 20 d.enable(libevdev.evbit(evtype, code), data=data) + properties = fetch(evdev, 'properties') + for prop in properties: + d.enable(libevdev.propbit(prop)) + uinput = d.create_uinput_device() return uinput