Key presses can be sent to kwin with the EI (Emulated Input) protocol. Connecting is handled by the xdg-desktop-portal D-Bus APIs and the current D-Bus implementation is large. Add a separate target for KDE.
46 lines
1.1 KiB
TOML
46 lines
1.1 KiB
TOML
[package]
|
|
name = "unfettered-keyboard"
|
|
version = "2.0.1"
|
|
edition = "2018"
|
|
license = "GPL-3.0-only"
|
|
|
|
[dependencies]
|
|
ashpd = { version = "0.9", features = ["wayland"] }
|
|
fontconfig = "0.9"
|
|
# Disable freetype-sys, as it vendors libfreetype2 while fontconfig dynamically
|
|
# links to it. Large dependencies should not be duplicated.
|
|
freetype = { version = "0.7", default-features = false }
|
|
imgref = "1.10"
|
|
libc = "0.2"
|
|
memmap2 = "0.9"
|
|
polling = "3.7"
|
|
reis = "0.3"
|
|
rgb = "0.8"
|
|
tokio = { version = "1.40", features = ["macros", "rt"] }
|
|
wayland-backend = "0.3"
|
|
wayland-client = "0.31"
|
|
wayland-protocols = { version = "0.32", features = ["client", "staging", "unstable"] }
|
|
wayland-protocols-wlr = { version = "0.3", features = ["client"] }
|
|
wayland-scanner = "0.31"
|
|
xkeysym = "0.2"
|
|
yaml-rust2 = "0.8"
|
|
zbus = { version = "4.4", default-features = false, features = ["tokio"] }
|
|
|
|
[build-dependencies]
|
|
bindgen = "0.70.1"
|
|
|
|
[[bin]]
|
|
name = "ufkbd-gnome"
|
|
path = "src/ufkbd_gnome.rs"
|
|
|
|
[[bin]]
|
|
name = "ufkbd-kde"
|
|
path = "src/ufkbd_kde.rs"
|
|
|
|
[[bin]]
|
|
name = "ufkbd-sxmo"
|
|
path = "src/ufkbd_sxmo.rs"
|
|
|
|
[[bin]]
|
|
name = "ufkbd-wl"
|
|
path = "src/ufkbd_wl.rs"
|