From 90918f77e64ad136f19b0ea04d89c70dedab62d6 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 10 Feb 2015 15:25:57 +1000 Subject: [PATCH] tools: print the tablet capability as 'T' in event-debug Signed-off-by: Peter Hutterer --- tools/event-debug.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/event-debug.c b/tools/event-debug.c index ad64f4be..1ca53c4a 100644 --- a/tools/event-debug.c +++ b/tools/event-debug.c @@ -152,6 +152,9 @@ print_device_notify(struct libinput_event *ev) if (libinput_device_has_capability(dev, LIBINPUT_DEVICE_CAP_TOUCH)) printf("t"); + if (libinput_device_has_capability(dev, + LIBINPUT_DEVICE_CAP_TABLET)) + printf("T"); if (libinput_device_get_size(dev, &w, &h) == 0) printf("\tsize %.2f/%.2fmm", w, h);