Function macroquad::input::is_key_pressed[][src]

pub fn is_key_pressed(key_code: KeyCode) -> bool

Detect if the key has been pressed once