aboutsummaryrefslogtreecommitdiff
path: root/include/backend/libinput.h
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-12-15 19:54:25 +0100
committerGitHub <noreply@github.com>2018-12-15 19:54:25 +0100
commit6d4bfa3226123e958ff2bdc4f226489cba49f84d (patch)
tree256c7c3ded68d4b95ed09f7a2fbfd5bc67dbcee9 /include/backend/libinput.h
parent8a56b96c5516ee089b7561949aac4f83e5b94808 (diff)
parentf8129ecbc5147a62d93d6bac5e61e5ce79d89667 (diff)
Merge pull request #1377 from tokyovigilante/switch-events
Add support for libinput_switch input devices
Diffstat (limited to 'include/backend/libinput.h')
-rw-r--r--include/backend/libinput.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/backend/libinput.h b/include/backend/libinput.h
index 9531091f..f4886956 100644
--- a/include/backend/libinput.h
+++ b/include/backend/libinput.h
@@ -55,6 +55,11 @@ void handle_pointer_button(struct libinput_event *event,
void handle_pointer_axis(struct libinput_event *event,
struct libinput_device *device);
+struct wlr_switch *create_libinput_switch(
+ struct libinput_device *device);
+void handle_switch_toggle(struct libinput_event *event,
+ struct libinput_device *device);
+
struct wlr_touch *create_libinput_touch(
struct libinput_device *device);
void handle_touch_down(struct libinput_event *event,