From e5fe164bcf1cd77a1023f2270d8087df190e0e14 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 29 Jun 2015 14:13:05 +1000 Subject: [PATCH] tools - list-devices: print "tablet" capability Signed-off-by: Peter Hutterer --- tools/libinput-list-devices.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/libinput-list-devices.c b/tools/libinput-list-devices.c index 6d162e2f..d64aafca 100644 --- a/tools/libinput-list-devices.c +++ b/tools/libinput-list-devices.c @@ -225,6 +225,9 @@ print_device_notify(struct libinput_event *ev) if (libinput_device_has_capability(dev, LIBINPUT_DEVICE_CAP_TOUCH)) printf("touch"); + if (libinput_device_has_capability(dev, + LIBINPUT_DEVICE_CAP_TABLET)) + printf("tablet"); printf("\n"); printf("Tap-to-click: %s\n", tap_default(dev));