summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2016-05-27 14:25:52 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2016-06-02 12:40:22 +1000
commit4f8088066c3ccd868d18b618fca884a2b70d868f (patch)
tree4f251f8c90578af0d0477f9cb241573ed7939581
parent34eff6564dad082d1be39729cdd532b554edcf6b (diff)
tools: show tablet-pad capabilities in libinput-list-devices
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--tools/libinput-list-devices.c3
1 files changed, 3 insertions, 0 deletions
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));