aboutsummaryrefslogtreecommitdiff
path: root/include/backend/headless.h
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-12-17 18:49:20 +0100
committeremersion <contact@emersion.fr>2017-12-17 18:49:20 +0100
commitbc5bdb7793d7737a42489ddb07b2fbb7f74a47f5 (patch)
tree6a38ed819d15df84951ab4aa1b1fea9b1dce0526 /include/backend/headless.h
parent0256de00029e8f17da0514e14460fb9ff2283433 (diff)
Add headless input devices
Diffstat (limited to 'include/backend/headless.h')
-rw-r--r--include/backend/headless.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/backend/headless.h b/include/backend/headless.h
index 6aaf5f76..91ff37dd 100644
--- a/include/backend/headless.h
+++ b/include/backend/headless.h
@@ -10,11 +10,12 @@ struct wlr_headless_backend {
struct wlr_egl egl;
struct wl_display *display;
struct wl_list outputs;
+ struct wl_list input_devices;
struct wl_listener display_destroy;
bool started;
};
-struct wlr_headless_backend_output {
+struct wlr_headless_output {
struct wlr_output wlr_output;
struct wlr_headless_backend *backend;
@@ -25,4 +26,10 @@ struct wlr_headless_backend_output {
int frame_delay; // ms
};
+struct wlr_headless_input_device {
+ struct wlr_input_device wlr_input_device;
+
+ struct wlr_headless_backend *backend;
+};
+
#endif