wlroots/include/wlr/backend/libinput.h

20 lines
626 B
C
Raw Normal View History

#ifndef WLR_BACKEND_LIBINPUT_H
#define WLR_BACKEND_LIBINPUT_H
2017-06-10 16:21:54 +00:00
#include <libinput.h>
#include <wayland-server.h>
#include <wlr/backend.h>
2018-02-12 20:29:23 +00:00
#include <wlr/backend/session.h>
2017-06-21 14:27:45 +00:00
#include <wlr/types/wlr_input_device.h>
struct wlr_backend *wlr_libinput_backend_create(struct wl_display *display,
2017-08-26 02:02:04 +00:00
struct wlr_session *session);
2018-03-19 19:46:28 +00:00
/** Gets the underlying libinput_device handle for the given wlr_input_device */
struct libinput_device *wlr_libinput_get_device_handle(
struct wlr_input_device *dev);
bool wlr_backend_is_libinput(struct wlr_backend *backend);
bool wlr_input_device_is_libinput(struct wlr_input_device *device);
#endif