From 54591d47ff69032044885a19622d1d3104d58c5e 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 (cherry picked from commit 4f8088066c3ccd868d18b618fca884a2b70d868f) --- 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 71cecab3..f7755b68 100644 --- a/tools/libinput-list-devices.c +++ b/tools/libinput-list-devices.c @@ -272,6 +272,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));