diff options
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, |