pub fn is_key_just_pressed(ctx: &Context, key: KeyCode) -> bool
👎Deprecated since 0.8.0: Use ctx.keyboard.is_key_just_pressed instead
Expand description

Checks if a key has been pressed down this frame.