From 52679e1296ece955bcf1cb52f77afd2eba833bd6 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 17 Dec 2024 10:49:25 +1000 Subject: [PATCH] tools/libinput-replay: print a separator line for EV_SYN events If running with --verbose having that line makes it a lot easier to look at the event sequence. Part-of: --- tools/libinput-replay.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/libinput-replay.py b/tools/libinput-replay.py index 85da4006..25a4a381 100755 --- a/tools/libinput-replay.py +++ b/tools/libinput-replay.py @@ -165,6 +165,10 @@ def print_events(devnode, indent, evs): e.value, ) ) + if e.type == libevdev.EV_SYN: + print( + "{}: ------------------------------------------------".format(devnode) + ) def collect_events(frame):