aboutsummaryrefslogtreecommitdiff
path: root/include/backend/libinput/backend.h
blob: bafe76ed9e0b449c6b6c0aa6a6feeb07695b60ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef _WLR_BACKEND_LIBINPUT_INTERNAL_H
#define _WLR_BACKEND_LIBINPUT_INTERNAL_H
#include <libinput.h>
#include <wlr/backend/interface.h>
#include <wlr/common/list.h>
#include <wayland-server-core.h>
#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