Commit 5ea84fa7 authored by StefanBruens's avatar StefanBruens Committed by Peter Hutterer

tools: Show gesture/switch capabilities in list-devices output

Signed-off-by: StefanBruens's avatarStefan Brüns <stefan.bruens@rwth-aachen.de>
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent aaded3d0
......@@ -314,6 +314,12 @@ print_device_notify(struct libinput_event *ev)
if (libinput_device_has_capability(dev,
LIBINPUT_DEVICE_CAP_TABLET_PAD))
printf("tablet-pad");
if (libinput_device_has_capability(dev,
LIBINPUT_DEVICE_CAP_GESTURE))
printf("gesture");
if (libinput_device_has_capability(dev,
LIBINPUT_DEVICE_CAP_SWITCH))
printf("switch");
printf("\n");
printf("Tap-to-click: %s\n", tap_default(dev));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment