From 45389468a7aae3ff7f09a5b413aefbe7c34ead81 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 7 Jan 2025 10:26:53 +1000 Subject: [PATCH] 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: --- src/evdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/evdev.c b/src/evdev.c index 4b37064f..c014d785 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -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);