Initialize keyboards from libinput

This commit is contained in:
Drew DeVault 2017-06-09 17:31:21 -04:00
parent 019fff06be
commit 0e75d157f5
12 changed files with 338 additions and 51 deletions

View file

@ -15,10 +15,14 @@ struct wlr_backend_state {
struct libinput *libinput;
struct wl_event_source *input_event;
list_t *devices;
list_t *keyboards;
};
void wlr_libinput_event(struct wlr_backend_state *state,
struct libinput_event *event);
struct wlr_keyboard_state {
struct libinput_device *handle;
};
#endif