mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-24 21:40:05 +01: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,
|
||||
)
|
||||
)
|
||||
if e.type == libevdev.EV_SYN:
|
||||
print(
|
||||
"{}: ------------------------------------------------".format(devnode)
|
||||
)
|
||||
|
||||
|
||||
def collect_events(frame):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue