backend/wscons: introduce new backend

This commit is contained in:
illiliti 2026-05-22 15:48:18 +03:00
parent f56f21b98f
commit 900ff30921
12 changed files with 1208 additions and 7 deletions

View file

@ -0,0 +1,23 @@
/*
* This an unstable interface of wlroots. No guarantees are made regarding the
* future consistency of this API.
*/
#ifndef WLR_USE_UNSTABLE
#error "Add -DWLR_USE_UNSTABLE to enable unstable wlroots features"
#endif
#ifndef WLR_BACKEND_WSCONS_H
#define WLR_BACKEND_WSCONS_H
#include <wayland-server-core.h>
#include <wlr/backend.h>
#include <wlr/backend/session.h>
struct wlr_input_device;
struct wlr_backend *wlr_wscons_backend_create(struct wlr_session *session);
bool wlr_backend_is_wscons(const struct wlr_backend *backend);
bool wlr_input_device_is_wscons(struct wlr_input_device *device);
#endif