Handle tablet capability in device_has_cap

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2015-05-26 10:39:57 +10:00
parent 21e3d416ee
commit 8d471b7612

View file

@ -1345,6 +1345,9 @@ device_has_cap(struct libinput_device *device,
case LIBINPUT_DEVICE_CAP_TOUCH:
capability = "CAP_TOUCH";
break;
case LIBINPUT_DEVICE_CAP_TABLET:
capability = "CAP_TABLET";
break;
}
log_bug_libinput(device->seat->libinput,