mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-06 11:30:27 +01:00
Handle tablet capability in device_has_cap
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
21e3d416ee
commit
8d471b7612
1 changed files with 3 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue