mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-03 13:30:27 +01:00
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>
This commit is contained in:
parent
368ced1f29
commit
4ca8f3b699
1 changed files with 5 additions and 2 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue