feat: libxkbcommon layouts

This commit is contained in:
galister
2024-06-05 19:54:11 +09:00
parent 65d62d79fe
commit 3a3cda7a45
10 changed files with 462 additions and 65 deletions

View File

@@ -58,13 +58,22 @@ winit = { version = "0.29.15", optional = true }
xdg = "2.5.2"
log-panics = { version = "2.1.0", features = ["with-backtrace"] }
serde_json5 = "0.1.0"
xkbcommon = { version = "0.7.0" }
xcb = { version = "1.4.0", optional = true, features = ["as-raw-xcb-connection"] }
[features]
default = ["openvr", "openxr", "osc", "x11", "wayland"]
openvr = ["dep:ovr_overlay", "dep:json"]
openxr = ["dep:openxr", "dep:sysinfo"]
osc = ["dep:rosc"]
x11 = ["wlx-capture/xshm"]
wayland = ["wlx-capture/pipewire", "wlx-capture/wlr"]
x11 = [
"dep:xcb",
"wlx-capture/xshm",
"xkbcommon/x11",
]
wayland = ["wlx-capture/pipewire", "wlx-capture/wlr", "xkbcommon/wayland"]
uidev = ["dep:winit"]
no-dmabuf = []
xcb = ["dep:xcb"]
as-raw-xcb-connection = []