Skip to main content

key_pressed

Function key_pressed 

Source
pub fn key_pressed(key: u32) -> bool
Expand description

Returns true if the given key was pressed this frame.