summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2015-11-16 16:26:56 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2015-11-18 12:13:54 +1000
commitb1b676e24a00be333911416ce7e002dd20ce5285 (patch)
treeec4ed94a7c9714ad46c55d2084ba67082e143e5c /tools
parent759ef0446596776ae5c716e6e335c7067953ce9b (diff)
tablet: rename the tablet capability to a tablet_tool capability
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/event-debug.c2
-rw-r--r--tools/libinput-list-devices.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/event-debug.c b/tools/event-debug.c
index c123917c..c35acef6 100644
--- a/tools/event-debug.c
+++ b/tools/event-debug.c
@@ -170,7 +170,7 @@ print_device_notify(struct libinput_event *ev)
LIBINPUT_DEVICE_CAP_GESTURE))
printf("g");
if (libinput_device_has_capability(dev,
- LIBINPUT_DEVICE_CAP_TABLET))
+ LIBINPUT_DEVICE_CAP_TABLET_TOOL))
printf("T");
if (libinput_device_get_size(dev, &w, &h) == 0)
diff --git a/tools/libinput-list-devices.c b/tools/libinput-list-devices.c
index d9f71bd8..62eb915b 100644
--- a/tools/libinput-list-devices.c
+++ b/tools/libinput-list-devices.c
@@ -258,7 +258,7 @@ print_device_notify(struct libinput_event *ev)
LIBINPUT_DEVICE_CAP_TOUCH))
printf("touch");
if (libinput_device_has_capability(dev,
- LIBINPUT_DEVICE_CAP_TABLET))
+ LIBINPUT_DEVICE_CAP_TABLET_TOOL))
printf("tablet");
printf("\n");