tools: show tablet-pad capabilities in libinput-list-devices

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2016-05-27 14:25:52 +10:00
parent 34eff6564d
commit 4f8088066c

View file

@ -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));