Enum enigo::Key [] [src]

pub enum Key {
    Return,
    Tab,
    Space,
    Backspace,
    Escape,
    Super,
    Command,
    Windows,
    Shift,
    CapsLock,
    Alt,
    Option,
    Control,
    Home,
    PageUp,
    PageDown,
    LeftArrow,
    RightArrow,
    DownArrow,
    UpArrow,
    F1,
    F2,
    F3,
    F4,
    F5,
    F6,
    F7,
    F8,
    F9,
    F10,
    F11,
    F12,
    Layout(char),
    Raw(u16),
}

Keys to be used TODO(dustin): make real documentation

Variants

return key

tab key (tabulator)

space key

backspace key

escape key (esc)

super key on linux (command key on macOS, windows key on Windows)

command key on macOS (super key on Linux, windows key on Windows)

windows key on Windows (super key on Linux, command key on macOS)

shift key

caps lock key

alt key on Linux and Windows (option key on macOS)

option key on macOS (alt key on Linux and Windows)

control key

home key

page up key

page down key

left arrow key

right arrow key

down arrow key

up arrow key

F1 key

F2 key

F3 key

F4 key

F5 key

F6 key

F7 key

F8 key

F9 key

F10 key

F11 key

F12 key

keyboard layout dependent key

raw keycode eg 0x38

Trait Implementations

impl Debug for Key
[src]

[src]

Formats the value using the given formatter.