pub fn map_key(key: &Key, location: KeyLocation) -> Option<Key>Expand description
Translates a winit logical key into a platform_core::Key, resolving the keypad from location.
Both backends go through here so a key can never reach one and not the other. location is what
separates the keypad from the digit row: winit reports Numpad7 as the character "7" and only the
location says which key was struck.