Function pixels_graphics_lib::utilities::key_code_to_char
source · pub fn key_code_to_char(code: KeyCode) -> Option<(char, char)>
Expand description
Convert key code to (char, shifted char)
So KeyCode::Key1
(the 1
key) returns ('1', '!')
and KeyCode::A (the A
key) returns ('a', 'A')