mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-07 03:48:06 +02:00
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: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1094>
This commit is contained in:
parent
f44a181a8e
commit
52679e1296
1 changed files with 4 additions and 0 deletions
|
|
@ -165,6 +165,10 @@ def print_events(devnode, indent, evs):
|
||||||
e.value,
|
e.value,
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
if e.type == libevdev.EV_SYN:
|
||||||
|
print(
|
||||||
|
"{}: ------------------------------------------------".format(devnode)
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
def collect_events(frame):
|
def collect_events(frame):
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue