diff options
author | emersion <contact@emersion.fr> | 2017-12-17 18:49:20 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2017-12-17 18:49:20 +0100 |
commit | bc5bdb7793d7737a42489ddb07b2fbb7f74a47f5 (patch) | |
tree | 6a38ed819d15df84951ab4aa1b1fea9b1dce0526 /include/backend | |
parent | 0256de00029e8f17da0514e14460fb9ff2283433 (diff) |
Add headless input devices
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/headless.h | 9 |
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 |