mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-03-22 19:40:37 +01:00
tools: show tablet-pad capabilities in libinput-list-devices
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 4f8088066c)
This commit is contained in:
parent
b03fc49a83
commit
54591d47ff
1 changed files with 3 additions and 0 deletions
|
|
@ -272,6 +272,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));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue