aboutsummaryrefslogtreecommitdiff
path: root/include/backend
diff options
context:
space:
mode:
authorScott Anderson <ascent12@hotmail.com>2017-09-27 16:39:44 +1300
committerScott Anderson <ascent12@hotmail.com>2017-09-29 16:15:09 +1300
commit9ca5b0cae86aaed18db6882eadf04c402550d755 (patch)
tree80796d08f9b33256272b164cca62934af098f712 /include/backend
parent3a5b150df21ee5b330130754b970a65de224c0fc (diff)
Add basic input
Diffstat (limited to 'include/backend')
-rw-r--r--include/backend/x11.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/backend/x11.h b/include/backend/x11.h
index eb46e77e..707f4ca8 100644
--- a/include/backend/x11.h
+++ b/include/backend/x11.h
@@ -7,6 +7,7 @@
#include <wayland-server.h>
#include <wlr/egl.h>
#include <wlr/types/wlr_output.h>
+#include <wlr/types/wlr_input_device.h>
struct wlr_x11_backend;
@@ -27,6 +28,12 @@ struct wlr_x11_backend {
struct wlr_x11_output output;
+ struct wlr_keyboard keyboard;
+ struct wlr_input_device keyboard_dev;
+
+ struct wlr_pointer pointer;
+ struct wlr_input_device pointer_dev;
+
struct wlr_egl egl;
struct wl_event_source *event_source;
};