aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/backend/libinput.h
blob: 95b8829d2c034316e1c22b27819f74bab3fe9d29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef WLR_BACKEND_LIBINPUT_H
#define WLR_BACKEND_LIBINPUT_H

#include <libinput.h>
#include <wayland-server.h>
#include <wlr/backend/session.h>
#include <wlr/backend.h>
#include <wlr/types/wlr_input_device.h>

struct wlr_backend *wlr_libinput_backend_create(struct wl_display *display,
		struct wlr_session *session);
struct libinput_device *wlr_libinput_get_device_handle(struct wlr_input_device *dev);

bool wlr_backend_is_libinput(struct wlr_backend *backend);

#endif