pub fn is_valid_input_code<'a>( map: &'a HashMap<&'static str, u32>, code: u32, ) -> bool
Returns true if the keycode is in the HashMap and thus a valid input code