Function ggez::input::keyboard::is_key_just_pressed
source · pub fn is_key_just_pressed(ctx: &Context, key: KeyCode) -> bool
👎Deprecated since 0.8.0: Use
ctx.keyboard.is_key_just_pressed
insteadExpand description
Checks if a key has been pressed down this frame.