diff options
author | nyorain <nyorain@gmail.com> | 2017-06-19 17:49:26 +0200 |
---|---|---|
committer | nyorain <nyorain@gmail.com> | 2017-06-19 17:49:26 +0200 |
commit | 41a477375cf5fc2cfafc97fb6d98e4e3457dfa62 (patch) | |
tree | 93e318287fb70b21dd0f5d7f90551810fa85a7dd /include/wlr/backend | |
parent | 904739c40596cb4e9e9d48c89b1d864051237441 (diff) | |
parent | 7e038a6110501a51e7f3d3366e8bc54a02766f22 (diff) |
Merge branch 'libinput' into wayland-backend
Diffstat (limited to 'include/wlr/backend')
-rw-r--r-- | include/wlr/backend/libinput.h | 15 | ||||
-rw-r--r-- | include/wlr/backend/multi.h | 10 |
2 files changed, 25 insertions, 0 deletions
diff --git a/include/wlr/backend/libinput.h b/include/wlr/backend/libinput.h new file mode 100644 index 00000000..7108f42c --- /dev/null +++ b/include/wlr/backend/libinput.h @@ -0,0 +1,15 @@ +#ifndef WLR_BACKEND_LIBINPUT_H +#define WLR_BACKEND_LIBINPUT_H + +#include <libinput.h> +#include <wayland-server.h> +#include <wlr/session.h> +#include <wlr/backend.h> +#include <wlr/backend/udev.h> +#include <wlr/types.h> + +struct wlr_backend *wlr_libinput_backend_create(struct wl_display *display, + struct wlr_session *session, struct wlr_udev *udev); +struct libinput_device *wlr_libinput_get_device_handle(struct wlr_input_device *dev); + +#endif diff --git a/include/wlr/backend/multi.h b/include/wlr/backend/multi.h new file mode 100644 index 00000000..a07ca770 --- /dev/null +++ b/include/wlr/backend/multi.h @@ -0,0 +1,10 @@ +#ifndef _WLR_BACKEND_MULTI_H +#define _WLR_BACKEND_MULTI_H + +#include <wlr/backend.h> + +struct wlr_backend *wlr_multi_backend_create(); +void wlr_multi_backend_add(struct wlr_backend *multi, + struct wlr_backend *backend); + +#endif |