summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/event-debug.c3
-rw-r--r--tools/event-gui.c5
2 files changed, 6 insertions, 2 deletions
diff --git a/tools/event-debug.c b/tools/event-debug.c
index 00882bfa..1d9c8a06 100644
--- a/tools/event-debug.c
+++ b/tools/event-debug.c
@@ -259,7 +259,8 @@ print_device_notify(struct libinput_event *ev)
double w, h;
uint32_t scroll_modes;
- printf("%s %s",
+ printf("%-30s %s %s",
+ libinput_device_get_name(dev),
libinput_seat_get_physical_name(seat),
libinput_seat_get_logical_name(seat));
diff --git a/tools/event-gui.c b/tools/event-gui.c
index 142990d5..b6d21b66 100644
--- a/tools/event-gui.c
+++ b/tools/event-gui.c
@@ -272,7 +272,10 @@ handle_event_device_notify(struct libinput_event *ev)
else
type = "removed";
- msg("%s %s\n", libinput_device_get_sysname(dev), type);
+ msg("%s %-30s %s\n",
+ libinput_device_get_sysname(dev),
+ libinput_device_get_name(dev),
+ type);
if (libinput_device_config_tap_get_finger_count(dev) > 0) {
enum libinput_config_status status;