From 9fe8e379613c42338920e913c6ffd6d1c273da67 Mon Sep 17 00:00:00 2001 From: Greg V Date: Sat, 26 Jan 2019 01:51:38 +0300 Subject: Implement the pointer-gestures-unstable-v1 protocol This protocol relays touchpad gesture events produced by libinput to supporting clients (e.g. Evince, Eye of GNOME). --- include/backend/libinput.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'include/backend') diff --git a/include/backend/libinput.h b/include/backend/libinput.h index f4886956..ddb81a5a 100644 --- a/include/backend/libinput.h +++ b/include/backend/libinput.h @@ -54,6 +54,18 @@ void handle_pointer_button(struct libinput_event *event, struct libinput_device *device); void handle_pointer_axis(struct libinput_event *event, struct libinput_device *device); +void handle_pointer_swipe_begin(struct libinput_event *event, + struct libinput_device *device); +void handle_pointer_swipe_update(struct libinput_event *event, + struct libinput_device *device); +void handle_pointer_swipe_end(struct libinput_event *event, + struct libinput_device *device); +void handle_pointer_pinch_begin(struct libinput_event *event, + struct libinput_device *device); +void handle_pointer_pinch_update(struct libinput_event *event, + struct libinput_device *device); +void handle_pointer_pinch_end(struct libinput_event *event, + struct libinput_device *device); struct wlr_switch *create_libinput_switch( struct libinput_device *device); -- cgit v1.2.3