[][src]Function egui_web::translate_key

pub fn translate_key(key: &str) -> Option<Key>

Web sends all all keys as strings, so it is up to us to figure out if it is a real text input or the name of a key.