diff options
author | Florian Franzen <Florian.Franzen@gmail.com> | 2022-04-23 10:27:47 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-05-30 12:20:43 +0200 |
commit | cab2189aa64d04ba79dc2cbf19400435b47cdbd2 (patch) | |
tree | 450ac51fbc75c73ed1dc6728bc05b08366ace785 /include/sway/input/seat.h | |
parent | Add a Hindi (हिन्दी) translation to the README (diff) | |
download | sway-cab2189aa64d04ba79dc2cbf19400435b47cdbd2.tar.gz sway-cab2189aa64d04ba79dc2cbf19400435b47cdbd2.tar.zst sway-cab2189aa64d04ba79dc2cbf19400435b47cdbd2.zip |
sway: add bindgesture command
Co-authored-by: Michael Weiser <michael.weiser@gmx.de>
Diffstat (limited to 'include/sway/input/seat.h')
-rw-r--r-- | include/sway/input/seat.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h index 47726159..c2041742 100644 --- a/include/sway/input/seat.h +++ b/include/sway/input/seat.h | |||
@@ -19,6 +19,22 @@ struct sway_seatop_impl { | |||
19 | void (*pointer_motion)(struct sway_seat *seat, uint32_t time_msec); | 19 | void (*pointer_motion)(struct sway_seat *seat, uint32_t time_msec); |
20 | void (*pointer_axis)(struct sway_seat *seat, | 20 | void (*pointer_axis)(struct sway_seat *seat, |
21 | struct wlr_pointer_axis_event *event); | 21 | struct wlr_pointer_axis_event *event); |
22 | void (*hold_begin)(struct sway_seat *seat, | ||
23 | struct wlr_pointer_hold_begin_event *event); | ||
24 | void (*hold_end)(struct sway_seat *seat, | ||
25 | struct wlr_pointer_hold_end_event *event); | ||
26 | void (*pinch_begin)(struct sway_seat *seat, | ||
27 | struct wlr_pointer_pinch_begin_event *event); | ||
28 | void (*pinch_update)(struct sway_seat *seat, | ||
29 | struct wlr_pointer_pinch_update_event *event); | ||
30 | void (*pinch_end)(struct sway_seat *seat, | ||
31 | struct wlr_pointer_pinch_end_event *event); | ||
32 | void (*swipe_begin)(struct sway_seat *seat, | ||
33 | struct wlr_pointer_swipe_begin_event *event); | ||
34 | void (*swipe_update)(struct sway_seat *seat, | ||
35 | struct wlr_pointer_swipe_update_event *event); | ||
36 | void (*swipe_end)(struct sway_seat *seat, | ||
37 | struct wlr_pointer_swipe_end_event *event); | ||
22 | void (*rebase)(struct sway_seat *seat, uint32_t time_msec); | 38 | void (*rebase)(struct sway_seat *seat, uint32_t time_msec); |
23 | void (*tablet_tool_motion)(struct sway_seat *seat, | 39 | void (*tablet_tool_motion)(struct sway_seat *seat, |
24 | struct sway_tablet_tool *tool, uint32_t time_msec); | 40 | struct sway_tablet_tool *tool, uint32_t time_msec); |
@@ -287,6 +303,25 @@ void seatop_tablet_tool_tip(struct sway_seat *seat, | |||
287 | void seatop_tablet_tool_motion(struct sway_seat *seat, | 303 | void seatop_tablet_tool_motion(struct sway_seat *seat, |
288 | struct sway_tablet_tool *tool, uint32_t time_msec); | 304 | struct sway_tablet_tool *tool, uint32_t time_msec); |
289 | 305 | ||
306 | void seatop_hold_begin(struct sway_seat *seat, | ||
307 | struct wlr_pointer_hold_begin_event *event); | ||
308 | void seatop_hold_end(struct sway_seat *seat, | ||
309 | struct wlr_pointer_hold_end_event *event); | ||
310 | |||
311 | void seatop_pinch_begin(struct sway_seat *seat, | ||
312 | struct wlr_pointer_pinch_begin_event *event); | ||
313 | void seatop_pinch_update(struct sway_seat *seat, | ||
314 | struct wlr_pointer_pinch_update_event *event); | ||
315 | void seatop_pinch_end(struct sway_seat *seat, | ||
316 | struct wlr_pointer_pinch_end_event *event); | ||
317 | |||
318 | void seatop_swipe_begin(struct sway_seat *seat, | ||
319 | struct wlr_pointer_swipe_begin_event *event); | ||
320 | void seatop_swipe_update(struct sway_seat *seat, | ||
321 | struct wlr_pointer_swipe_update_event *event); | ||
322 | void seatop_swipe_end(struct sway_seat *seat, | ||
323 | struct wlr_pointer_swipe_end_event *event); | ||
324 | |||
290 | void seatop_rebase(struct sway_seat *seat, uint32_t time_msec); | 325 | void seatop_rebase(struct sway_seat *seat, uint32_t time_msec); |
291 | 326 | ||
292 | /** | 327 | /** |