evdev: print the EV_SYN with better alignment to other messages

This affects the debugging output only and it's invocation is if 0 by
default.

Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1117>
This commit is contained in:
Peter Hutterer 2025-01-07 10:26:53 +10:00
parent 1e445f3f84
commit 45389468a7

View file

@ -1040,7 +1040,7 @@ evdev_print_event(struct evdev_device *device,
if (libevdev_event_is_code(e, EV_SYN, SYN_REPORT)) {
evdev_log_debug(device,
"%u.%03u -------------- EV_SYN ------------ +%ums\n",
"%u.%03u ----------------- EV_SYN ----------------- +%ums\n",
time / 1000,
time % 1000,
time - last_time);