From 62913a6560ed3f5d4cd9e994b1c128ff124b45f3 Mon Sep 17 00:00:00 2001 From: bunnie Date: Mon, 6 Jun 2022 13:59:01 +0800 Subject: [PATCH] meant to have keyboard injection as a feature. restore that. --- services/keyboard/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/keyboard/src/main.rs b/services/keyboard/src/main.rs index 2b714540b..a0d357ec9 100644 --- a/services/keyboard/src/main.rs +++ b/services/keyboard/src/main.rs @@ -886,7 +886,7 @@ fn main() -> ! { } } }; - + #cfg[feature="debuginject"] if let Some(conn) = listener_conn { if key != '\u{0000}' { log::info!("injecting key '{}'({:x})", key, key as u32); // always be noisy about this, it's an exploit path