summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2015-11-09 15:39:20 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2015-11-09 15:39:20 +1000
commit4ca8f3b699bd81478632e75e855db672575c35f9 (patch)
tree210b2f22c88cd698b375cb49d8201e19b7cedf55 /tools
parent368ced1f2961b614190ad3a344fad7ad2e252439 (diff)
tools: print the tool ID in event-debug
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/event-debug.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/event-debug.c b/tools/event-debug.c
index 6e5f8a85..05fb1a7f 100644
--- a/tools/event-debug.c
+++ b/tools/event-debug.c
@@ -490,8 +490,11 @@ print_proximity_event(struct libinput_event *ev)
abort();
}
- printf("\t%s (%#" PRIx64 ") %s",
- tool_str, libinput_tool_get_serial(tool), state_str);
+ printf("\t%s (%#" PRIx64 ", id %#" PRIx64 ") %s",
+ tool_str,
+ libinput_tool_get_serial(tool),
+ libinput_tool_get_tool_id(tool),
+ state_str);
printf("\taxes:");
if (libinput_tool_has_axis(tool, LIBINPUT_TABLET_AXIS_DISTANCE))