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

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

Returns true if the specified key was pressed this tick.