From 1262f1400c6f443a1460e168c7adc25997247cde Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 9 Jun 2017 11:28:10 -0400 Subject: Initial pass on libinput backend --- include/backend/libinput/backend.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 include/backend/libinput/backend.h (limited to 'include/backend') diff --git a/include/backend/libinput/backend.h b/include/backend/libinput/backend.h new file mode 100644 index 00000000..bafe76ed --- /dev/null +++ b/include/backend/libinput/backend.h @@ -0,0 +1,21 @@ +#ifndef _WLR_BACKEND_LIBINPUT_INTERNAL_H +#define _WLR_BACKEND_LIBINPUT_INTERNAL_H +#include +#include +#include +#include +#include "backend/udev.h" + +struct wlr_backend_state { + struct wlr_backend *backend; + struct wlr_session *session; + struct wlr_udev *udev; + struct wl_display *display; + + struct libinput *handle; + struct wl_event_source *input_event; + + list_t *devices; +}; + +#endif -- cgit v1.2.3