winconsole::input
pub fn get_pressed_keys() -> WinResult<Vec<KeyCode>>
Returns a list of keys that are currently in the pressed state.
let pressed = input::get_pressed_keys().unwrap(); for key in pressed { println!("{} is down", key); }
IoError