Type Alias KeyboardRef

Source
pub type KeyboardRef = Ref;
Expand description

Type aliases for convenience.

Aliased Type§

pub enum KeyboardRef {
    KeyCode(u8),
    Modifiers(u8),
    KeyCodeAndModifier(u8),
}

Variants§

§

KeyCode(u8)

A key code without modifiers. (Value is the HID usage code).

§

Modifiers(u8)

A modifiers. (Value is a bitfield of key::KeyboardModifiers).

§

KeyCodeAndModifier(u8)

A key code with modifiers. (Value is the index into the key data array of System).