Skip to main content

key_input

Function key_input 

pub fn key_input(key: &Key, state: ElementState) -> WindowEvent
Expand description

key going down or up as keyboard input, carrying its text on press.