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 /src | |
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 'src')
-rw-r--r-- | src/libinput.c | 2 | ||||
-rw-r--r-- | src/libinput.h | 13 |
2 files changed, 0 insertions, 15 deletions
diff --git a/src/libinput.c b/src/libinput.c index cf0ed5bf..a8240bde 100644 --- a/src/libinput.c +++ b/src/libinput.c @@ -1691,7 +1691,6 @@ libinput_event_destroy(struct libinput_event *event) case LIBINPUT_EVENT_TABLET_PAD_RING: case LIBINPUT_EVENT_TABLET_PAD_STRIP: case LIBINPUT_EVENT_TABLET_PAD_BUTTON: - case LIBINPUT_EVENT_TABLET_PAD_MODE: libinput_event_tablet_pad_destroy( libinput_event_get_tablet_pad_event(event)); break; @@ -2613,7 +2612,6 @@ event_type_to_str(enum libinput_event_type type) CASE_RETURN_STRING(LIBINPUT_EVENT_TABLET_PAD_BUTTON); CASE_RETURN_STRING(LIBINPUT_EVENT_TABLET_PAD_RING); CASE_RETURN_STRING(LIBINPUT_EVENT_TABLET_PAD_STRIP); - CASE_RETURN_STRING(LIBINPUT_EVENT_TABLET_PAD_MODE); CASE_RETURN_STRING(LIBINPUT_EVENT_GESTURE_SWIPE_BEGIN); CASE_RETURN_STRING(LIBINPUT_EVENT_GESTURE_SWIPE_UPDATE); CASE_RETURN_STRING(LIBINPUT_EVENT_GESTURE_SWIPE_END); diff --git a/src/libinput.h b/src/libinput.h index dc0f5b0c..83e58b66 100644 --- a/src/libinput.h +++ b/src/libinput.h @@ -740,19 +740,6 @@ enum libinput_event_type { */ LIBINPUT_EVENT_TABLET_PAD_STRIP, - /** - * A mode change on a device with the @ref - * LIBINPUT_DEVICE_CAP_TABLET_PAD capability. - * - * This event is triggered when the mode is changed through - * external means. The event reflects a mode change (see @ref - * tablet-pad-modes) occurring as a result other than that of - * pressing a mode toggle button. - * - * @note Support for this event is not yet implemented. - */ - LIBINPUT_EVENT_TABLET_PAD_MODE, - LIBINPUT_EVENT_GESTURE_SWIPE_BEGIN = 800, LIBINPUT_EVENT_GESTURE_SWIPE_UPDATE, LIBINPUT_EVENT_GESTURE_SWIPE_END, |