From 4f8088066c3ccd868d18b618fca884a2b70d868f Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 27 May 2016 14:25:52 +1000 Subject: [PATCH] tools: show tablet-pad capabilities in libinput-list-devices 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 56151e53..11c3b10d 100644 --- a/tools/libinput-list-devices.c +++ b/tools/libinput-list-devices.c @@ -288,6 +288,9 @@ print_device_notify(struct libinput_event *ev) if (libinput_device_has_capability(dev, LIBINPUT_DEVICE_CAP_TABLET_TOOL)) printf("tablet "); + if (libinput_device_has_capability(dev, + LIBINPUT_DEVICE_CAP_TABLET_PAD)) + printf("tablet-pad"); printf("\n"); printf("Tap-to-click: %s\n", tap_default(dev));