summaryrefslogtreecommitdiff
path: root/include/sway/input/seat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/input/seat.h')
-rw-r--r--include/sway/input/seat.h39
1 files changed, 37 insertions, 2 deletions
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h
index 77c2278d..e3a46872 100644
--- a/include/sway/input/seat.h
+++ b/include/sway/input/seat.h
@@ -18,7 +18,23 @@ struct sway_seatop_impl {
enum wlr_button_state state);
void (*pointer_motion)(struct sway_seat *seat, uint32_t time_msec);
void (*pointer_axis)(struct sway_seat *seat,
- struct wlr_event_pointer_axis *event);
+ struct wlr_pointer_axis_event *event);
+ void (*hold_begin)(struct sway_seat *seat,
+ struct wlr_pointer_hold_begin_event *event);
+ void (*hold_end)(struct sway_seat *seat,
+ struct wlr_pointer_hold_end_event *event);
+ void (*pinch_begin)(struct sway_seat *seat,
+ struct wlr_pointer_pinch_begin_event *event);
+ void (*pinch_update)(struct sway_seat *seat,
+ struct wlr_pointer_pinch_update_event *event);
+ void (*pinch_end)(struct sway_seat *seat,
+ struct wlr_pointer_pinch_end_event *event);
+ void (*swipe_begin)(struct sway_seat *seat,
+ struct wlr_pointer_swipe_begin_event *event);
+ void (*swipe_update)(struct sway_seat *seat,
+ struct wlr_pointer_swipe_update_event *event);
+ void (*swipe_end)(struct sway_seat *seat,
+ struct wlr_pointer_swipe_end_event *event);
void (*rebase)(struct sway_seat *seat, uint32_t time_msec);
void (*tablet_tool_motion)(struct sway_seat *seat,
struct sway_tablet_tool *tool, uint32_t time_msec);
@@ -274,7 +290,7 @@ void seatop_button(struct sway_seat *seat, uint32_t time_msec,
void seatop_pointer_motion(struct sway_seat *seat, uint32_t time_msec);
void seatop_pointer_axis(struct sway_seat *seat,
- struct wlr_event_pointer_axis *event);
+ struct wlr_pointer_axis_event *event);
void seatop_tablet_tool_tip(struct sway_seat *seat,
struct sway_tablet_tool *tool, uint32_t time_msec,
@@ -283,6 +299,25 @@ void seatop_tablet_tool_tip(struct sway_seat *seat,
void seatop_tablet_tool_motion(struct sway_seat *seat,
struct sway_tablet_tool *tool, uint32_t time_msec);
+void seatop_hold_begin(struct sway_seat *seat,
+ struct wlr_pointer_hold_begin_event *event);
+void seatop_hold_end(struct sway_seat *seat,
+ struct wlr_pointer_hold_end_event *event);
+
+void seatop_pinch_begin(struct sway_seat *seat,
+ struct wlr_pointer_pinch_begin_event *event);
+void seatop_pinch_update(struct sway_seat *seat,
+ struct wlr_pointer_pinch_update_event *event);
+void seatop_pinch_end(struct sway_seat *seat,
+ struct wlr_pointer_pinch_end_event *event);
+
+void seatop_swipe_begin(struct sway_seat *seat,
+ struct wlr_pointer_swipe_begin_event *event);
+void seatop_swipe_update(struct sway_seat *seat,
+ struct wlr_pointer_swipe_update_event *event);
+void seatop_swipe_end(struct sway_seat *seat,
+ struct wlr_pointer_swipe_end_event *event);
+
void seatop_rebase(struct sway_seat *seat, uint32_t time_msec);
/**