diff --git a/src/config.rs b/src/config.rs index 4ead019..ad822be 100644 --- a/src/config.rs +++ b/src/config.rs @@ -1,5 +1,5 @@ use int_enum::IntEnum; -use log::{error, info, warn}; +use log::error; use serde::{Deserialize, Serialize}; use std::path::Path; use std::process; @@ -100,9 +100,6 @@ pub enum KeyMapVariant { PipeWire { ids: Vec, }, - Key { - keycode: u8, //TODO: add real keycodes - }, Exec { command: String, args: Option>, diff --git a/src/controller.rs b/src/controller.rs index fee658a..dbc750b 100644 --- a/src/controller.rs +++ b/src/controller.rs @@ -92,7 +92,6 @@ fn eval(key: NanoKeys, state: u8, config: &Arc) { } }, KeyMapVariant::PipeWire { ids } => {} - KeyMapVariant::Key { keycode } => {} KeyMapVariant::Exec { command, args } => { let output: Result = match args { Some(some_args) => Command::new(command).args(some_args).output(),