pub fn is_key_down(event: &Event, key_code: VirtualKeyCode) -> bool
Expand description

Returns true if the event passed in is a key down event for the provided VirtualKeyCode.