tools - list-devices: print "tablet" capability

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2015-06-29 14:13:05 +10:00
parent 9610ff849e
commit e5fe164bcf

View file

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