projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f44a181
)
tools/libinput-replay: print a separator line for EV_SYN events
author
Peter Hutterer
<peter.hutterer@who-t.net>
Tue, 17 Dec 2024 00:49:25 +0000
(10:49 +1000)
committer
Marge Bot
<emma+marge@anholt.net>
Wed, 18 Dec 2024 08:07:18 +0000
(08:07 +0000)
If running with --verbose having that line makes it a lot easier to
look at the event sequence.
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1094>
tools/libinput-replay.py
patch
|
blob
|
history
diff --git
a/tools/libinput-replay.py
b/tools/libinput-replay.py
index 85da400667cfa566732b25e3e6c753b01ab4f26c..25a4a3816f37a4949882979728383ed93ce4374a 100755
(executable)
--- 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):