Don't print the scancode on every key press
This commit is contained in:
parent
bd7eba3ddb
commit
953b2cfffe
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user