Allow input capture & emulation being disabled (#158)

* Input capture and emulation can now be disabled and will prompt the user to enable again.

* Improved error handling to deliver more useful error messages
This commit is contained in:
Ferdinand Schober
2024-07-16 20:34:46 +02:00
committed by GitHub
parent 55bdf1e63e
commit bea7d6f8a5
41 changed files with 2079 additions and 1543 deletions

18
Cargo.lock generated
View File

@@ -1194,8 +1194,8 @@ dependencies = [
name = "input-capture"
version = "0.1.0"
dependencies = [
"anyhow",
"ashpd",
"async-trait",
"core-graphics",
"futures",
"futures-core",
@@ -1207,6 +1207,7 @@ dependencies = [
"tempfile",
"thiserror",
"tokio",
"tokio-util",
"wayland-client",
"wayland-protocols",
"wayland-protocols-wlr",
@@ -1244,6 +1245,7 @@ dependencies = [
"futures-core",
"log",
"num_enum",
"reis",
"serde",
"thiserror",
]
@@ -1327,6 +1329,7 @@ dependencies = [
"slab",
"thiserror",
"tokio",
"tokio-util",
"toml",
]
@@ -2048,6 +2051,19 @@ dependencies = [
"syn",
]
[[package]]
name = "tokio-util"
version = "0.7.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9cf6b47b3771c49ac75ad09a6162f53ad4b8088b76ac60e8ec1455b31a189fe1"
dependencies = [
"bytes",
"futures-core",
"futures-sink",
"pin-project-lite",
"tokio",
]
[[package]]
name = "toml"
version = "0.8.14"