Remove keypress simulation functionality stub
This commit is contained in:
parent
82075e9ff9
commit
f2cb1defa0
2 changed files with 1 additions and 5 deletions
|
@ -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<String>,
|
||||
},
|
||||
Key {
|
||||
keycode: u8, //TODO: add real keycodes
|
||||
},
|
||||
Exec {
|
||||
command: String,
|
||||
args: Option<Vec<String>>,
|
||||
|
|
|
@ -92,7 +92,6 @@ fn eval(key: NanoKeys, state: u8, config: &Arc<Config>) {
|
|||
}
|
||||
},
|
||||
KeyMapVariant::PipeWire { ids } => {}
|
||||
KeyMapVariant::Key { keycode } => {}
|
||||
KeyMapVariant::Exec { command, args } => {
|
||||
let output: Result<Output, std::io::Error> = match args {
|
||||
Some(some_args) => Command::new(command).args(some_args).output(),
|
||||
|
|
Loading…
Reference in a new issue