fn key_of(pressed: &str) -> Option<Key>
A KeyboardEvent.key value as a bindable key. The value is what the layout produced, so a shifted digit arrives as its symbol and a letter in either case.
KeyboardEvent.key