Function tetra::input::is_key_pressed[][src]

pub fn is_key_pressed(ctx: &Context, key: Key) -> bool

Returns true if the specified key was pressed since the last update.