diff options
author | José Expósito <jose.exposito89@gmail.com> | 2021-07-12 19:50:44 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-09-27 15:30:31 +0200 |
commit | 52d249193190c44d1f1d07c36ae57f1dfa16a9e0 (patch) | |
tree | c9c7db9f7d807dbcce33334bdf7fac17e2237f97 /include/backend/libinput.h | |
parent | 95970b361960e5b8786eaa608d66f18b15d86efb (diff) |
backend/libinput: send hold gesture events
Receive hold gesture events from libinput and emit the appropiate
wlr_pointer signal.
Diffstat (limited to 'include/backend/libinput.h')
-rw-r--r-- | include/backend/libinput.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/backend/libinput.h b/include/backend/libinput.h index 06e23a17..e85ad291 100644 --- a/include/backend/libinput.h +++ b/include/backend/libinput.h @@ -66,6 +66,10 @@ 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); +void handle_pointer_hold_begin(struct libinput_event *event, + struct libinput_device *device); +void handle_pointer_hold_end(struct libinput_event *event, + struct libinput_device *device); struct wlr_switch *create_libinput_switch( struct libinput_device *device); |