[−][src]Function amethyst_input::get_key
pub fn get_key(event: &Event) -> Option<(VirtualKeyCode, ElementState)>
If this event was for manipulating a keyboard key then this will return the VirtualKeyCode
and the new state.
pub fn get_key(event: &Event) -> Option<(VirtualKeyCode, ElementState)>
If this event was for manipulating a keyboard key then this will return the VirtualKeyCode
and the new state.