aboutsummaryrefslogtreecommitdiff
path: root/include/backend
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-06-09 17:31:21 -0400
committerDrew DeVault <sir@cmpwn.com>2017-06-13 08:10:36 -0400
commit0e75d157f52db45a1af350574bd95cccbd09fa57 (patch)
treedfc6134d419cab1798707f6b072c7be6730085dd /include/backend
parent019fff06be1ad460ac427bea070fbe7a61c09ea8 (diff)
Initialize keyboards from libinput
Diffstat (limited to 'include/backend')
-rw-r--r--include/backend/libinput/backend.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/backend/libinput/backend.h b/include/backend/libinput/backend.h
index a23a45ac..6f2fa2a0 100644
--- a/include/backend/libinput/backend.h
+++ b/include/backend/libinput/backend.h
@@ -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