summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/event-debug.c22
-rw-r--r--tools/event-gui.c1
2 files changed, 0 insertions, 23 deletions
diff --git a/tools/event-debug.c b/tools/event-debug.c
index 70f4268..67432b7 100644
--- a/tools/event-debug.c
+++ b/tools/event-debug.c
@@ -130,9 +130,6 @@ print_event_header(struct libinput_event *ev)
case LIBINPUT_EVENT_TABLET_PAD_STRIP:
type = "TABLET_PAD_STRIP";
break;
- case LIBINPUT_EVENT_TABLET_PAD_MODE:
- type = "TABLET_PAD_MODE";
- break;
}
printf("%-7s %-16s ", libinput_device_get_sysname(dev), type);
@@ -682,22 +679,6 @@ print_tablet_pad_strip_event(struct libinput_event *ev)
mode);
}
-static void
-print_tablet_pad_mode_event(struct libinput_event *ev)
-{
- struct libinput_event_tablet_pad *p = libinput_event_get_tablet_pad_event(ev);
- struct libinput_tablet_pad_mode_group *group;
- unsigned int mode;
-
- print_event_time(libinput_event_tablet_pad_get_time(p));
-
- group = libinput_event_tablet_pad_get_mode_group(p);
- mode = libinput_event_tablet_pad_get_mode(p);
- printf("group %d mode %d\n",
- libinput_tablet_pad_mode_group_get_index(group),
- mode);
-}
-
static int
handle_and_print_events(struct libinput *li)
{
@@ -786,9 +767,6 @@ handle_and_print_events(struct libinput *li)
case LIBINPUT_EVENT_TABLET_PAD_STRIP:
print_tablet_pad_strip_event(ev);
break;
- case LIBINPUT_EVENT_TABLET_PAD_MODE:
- print_tablet_pad_mode_event(ev);
- break;
}
libinput_event_destroy(ev);
diff --git a/tools/event-gui.c b/tools/event-gui.c
index 8b4e3e9..b67ca45 100644
--- a/tools/event-gui.c
+++ b/tools/event-gui.c
@@ -843,7 +843,6 @@ handle_event_libinput(GIOChannel *source, GIOCondition condition, gpointer data)
case LIBINPUT_EVENT_TABLET_PAD_BUTTON:
case LIBINPUT_EVENT_TABLET_PAD_RING:
case LIBINPUT_EVENT_TABLET_PAD_STRIP:
- case LIBINPUT_EVENT_TABLET_PAD_MODE:
break;
}