summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/libinput-replay3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/libinput-replay b/tools/libinput-replay
index 4097cc82..df77139c 100755
--- a/tools/libinput-replay
+++ b/tools/libinput-replay
@@ -122,7 +122,8 @@ def replay(device, verbose):
evs = [libevdev.InputEvent(libevdev.evbit(e[2], e[3]), value=e[4], sec=e[0], usec=e[1]) for e in evdev]
uinput.send_events(evs)
- print_events(uinput.devnode, device['__index'], evs)
+ if verbose:
+ print_events(uinput.devnode, device['__index'], evs)
def wrap(func, *args):