aboutsummaryrefslogtreecommitdiff
path: root/include/backend
diff options
context:
space:
mode:
Diffstat (limited to 'include/backend')
-rw-r--r--include/backend/libinput.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/include/backend/libinput.h b/include/backend/libinput.h
index a6841d7e..39e6dfe5 100644
--- a/include/backend/libinput.h
+++ b/include/backend/libinput.h
@@ -5,7 +5,12 @@
#include <wayland-server-core.h>
#include <wlr/backend/interface.h>
#include <wlr/backend/libinput.h>
-#include <wlr/interfaces/wlr_input_device.h>
+#include <wlr/interfaces/wlr_keyboard.h>
+#include <wlr/interfaces/wlr_pointer.h>
+#include <wlr/interfaces/wlr_switch.h>
+#include <wlr/interfaces/wlr_tablet_pad.h>
+#include <wlr/interfaces/wlr_tablet_tool.h>
+#include <wlr/interfaces/wlr_touch.h>
#include <wlr/types/wlr_input_device.h>
struct wlr_libinput_backend {
@@ -39,6 +44,15 @@ struct wlr_input_device *get_appropriate_device(
enum wlr_input_device_type desired_type,
struct libinput_device *device);
+void destroy_libinput_input_device(struct wlr_libinput_input_device *dev);
+
+extern const struct wlr_keyboard_impl libinput_keyboard_impl;
+extern const struct wlr_pointer_impl libinput_pointer_impl;
+extern const struct wlr_switch_impl libinput_switch_impl;
+extern const struct wlr_tablet_impl libinput_tablet_impl;
+extern const struct wlr_tablet_pad_impl libinput_tablet_pad_impl;
+extern const struct wlr_touch_impl libinput_touch_impl;
+
struct wlr_keyboard *create_libinput_keyboard(
struct libinput_device *device);
void handle_keyboard_key(struct libinput_event *event,