diff --git a/Cargo.lock b/Cargo.lock index f7ab350..8ca5b76 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -235,21 +235,22 @@ dependencies = [ [[package]] name = "input" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f68c2be575d5695a03d446acd1016b1665b26172fb37a75300459abeffba09d1" +checksum = "dc4dbb162fb850a9896d078e2ffd9a513e6eb7224b5af425f24d717c7e970170" dependencies = [ "bitflags", "input-sys", "libc", + "log", "udev", ] [[package]] name = "input-sys" -version = "1.15.1" +version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bb1c469633b54ba5998d2092bd5dbf7347253d0d74617816a10f820f4152a84" +checksum = "56c19467c5dd7d0cd50c3feec490b102e97be9728bdd46405bbc02880291ca73" dependencies = [ "libc", ] diff --git a/Cargo.toml b/Cargo.toml index b593b55..da15753 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -input = "0.6" +input = "0.7" libc = "0.2.98" zbus = "1.9" zvariant = "2.7.0" diff --git a/src/libinput.rs b/src/libinput.rs index 98d5f3b..82e63da 100644 --- a/src/libinput.rs +++ b/src/libinput.rs @@ -77,6 +77,7 @@ pub fn libinput_listener(transmitter: mpsc::Sender) { GestureSwipeEvent::Begin(_) => "Begin", GestureSwipeEvent::Update(_) => "Update", GestureSwipeEvent::End(_) => "End", + _ => panic!("Unkown gesture event {:?}", swipe), }; let fingers;