From 953b2cfffe29efb978f873060bb45b5f090a3959 Mon Sep 17 00:00:00 2001 From: Ry Date: Sun, 24 Jul 2022 16:57:28 -0700 Subject: [PATCH] Don't print the scancode on every key press --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 728d725..fbcd6f6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -233,7 +233,7 @@ fn main() { if input.state == ElementState::Released { scancode |= 0x80; // "break" scancode } - println!("scancode: {:x}", scancode); + //println!("scancode: {:x}", scancode); keyboard_lock.push(scancode); } }