[][src]Trait pc_keyboard::KeyboardLayout

pub trait KeyboardLayout {
    fn map_keycode(keycode: KeyCode, modifiers: &Modifiers) -> DecodedKey;
}

Required Methods

Convert a KeyCode enum to a Unicode character, if possible. KeyCode::A maps to Some('a') (or Some('A') if shifted), while KeyCode::AltLeft returns None

Implementors

impl KeyboardLayout for Uk105Key
[src]

impl KeyboardLayout for Us104Key
[src]