From d0718a9b32dc9d80b35eae269b60a22caa9c268f Mon Sep 17 00:00:00 2001 From: Simon Zeni Date: Thu, 24 Feb 2022 15:53:54 -0500 Subject: backend/libinput: public API cleanup --- include/backend/libinput.h | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) (limited to 'include') diff --git a/include/backend/libinput.h b/include/backend/libinput.h index 6579b1af..f22e7761 100644 --- a/include/backend/libinput.h +++ b/include/backend/libinput.h @@ -5,13 +5,12 @@ #include #include #include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include struct wlr_libinput_backend { struct wlr_backend backend; @@ -26,12 +25,10 @@ struct wlr_libinput_backend { struct wl_listener session_destroy; struct wl_listener session_signal; - struct wl_array wlr_device_lists; // struct wl_list * struct wl_list devices; // wlr_libinput_device::link }; struct wlr_libinput_input_device { - struct wlr_input_device wlr_input_device; struct libinput_device *handle; struct wlr_keyboard keyboard; @@ -50,10 +47,6 @@ uint32_t usec_to_msec(uint64_t usec); void handle_libinput_event(struct wlr_libinput_backend *state, struct libinput_event *event); -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; -- cgit v1.2.3