2017-06-09 17:38:38 +02:00
|
|
|
#ifndef WLR_BACKEND_LIBINPUT_H
|
|
|
|
#define WLR_BACKEND_LIBINPUT_H
|
|
|
|
|
2017-06-10 18:21:54 +02:00
|
|
|
#include <libinput.h>
|
2017-06-09 17:38:38 +02:00
|
|
|
#include <wayland-server.h>
|
2017-07-11 09:18:34 +02:00
|
|
|
#include <wlr/backend/session.h>
|
2017-06-09 17:38:38 +02:00
|
|
|
#include <wlr/backend.h>
|
2017-06-21 16:27:45 +02:00
|
|
|
#include <wlr/types/wlr_input_device.h>
|
2017-06-09 17:38:38 +02:00
|
|
|
|
|
|
|
struct wlr_backend *wlr_libinput_backend_create(struct wl_display *display,
|
2017-08-26 04:02:04 +02:00
|
|
|
struct wlr_session *session);
|
2017-06-10 18:21:54 +02:00
|
|
|
struct libinput_device *wlr_libinput_get_device_handle(struct wlr_input_device *dev);
|
2017-06-09 17:38:38 +02:00
|
|
|
|
2017-08-13 23:05:57 +02:00
|
|
|
bool wlr_backend_is_libinput(struct wlr_backend *backend);
|
2017-12-19 19:46:30 +01:00
|
|
|
bool wlr_input_device_is_libinput(struct wlr_input_device *device);
|
2017-08-13 23:05:57 +02:00
|
|
|
|
2017-06-09 17:38:38 +02:00
|
|
|
#endif
|