[−][src]Function amethyst_input::is_key_down
pub fn is_key_down(event: &Event, key_code: VirtualKeyCode) -> bool
Returns true if the event passed in is a key down event for the
provided VirtualKeyCode
.
pub fn is_key_down(event: &Event, key_code: VirtualKeyCode) -> bool
Returns true if the event passed in is a key down event for the
provided VirtualKeyCode
.