From: Peter Hutterer Date: Tue, 17 Dec 2024 00:49:25 +0000 (+1000) Subject: tools/libinput-replay: print a separator line for EV_SYN events X-Git-Tag: 1.27.1~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=52679e1296ece955bcf1cb52f77afd2eba833bd6;p=platform%2Fupstream%2Flibinput.git 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: --- 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):