aboutsummaryrefslogtreecommitdiff
path: root/include/backend
diff options
context:
space:
mode:
authorGreg V <greg@unrelenting.technology>2019-01-26 01:51:38 +0300
committeremersion <contact@emersion.fr>2019-01-28 22:06:36 +0100
commit9fe8e379613c42338920e913c6ffd6d1c273da67 (patch)
tree51937a7d4827b20ffe27783e9b4ae26bdf7175f0 /include/backend
parent018727b1fc41dcd739ab464c84581c44dd1497ca (diff)
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).
Diffstat (limited to 'include/backend')
-rw-r--r--include/backend/libinput.h12
1 files changed, 12 insertions, 0 deletions
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);