diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2016-07-08 10:35:03 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2016-07-11 11:00:51 +1000 |
commit | 3c113111facf231212fa1cc7c18b6171ed4509c7 (patch) | |
tree | 5b7219f95be38c697fa93ec218893d61853f755c /tools | |
parent | aa4fd585f4c7847ca3c7f9e98118c5e378806511 (diff) |
Remove LIBINPUT_EVENT_TABLET_PAD_MODE event
Unimplemented and it wasn't supposed to be in the series.
https://lists.freedesktop.org/archives/wayland-devel/2016-June/029376.html
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Carlos Garnacho <carlosg@gnome.org>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/event-debug.c | 22 | ||||
-rw-r--r-- | tools/event-gui.c | 1 |
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; } |