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(String), Raw(u16), }
Keys to be used TODO(dustin): make a real documentation
Variants
Return
return key
Tab
tab key (tabulator)
Space
space key
Backspace
backspace key
Escape
escape key (esc)
Super
super key on linux (command key on macOS, windows key on Windows)
Command
command key on macOS (super key on Linux, windows key on Windows)
Windows
windows key on Windows (super key on Linux, command key on macOS)
Shift
shift key
CapsLock
caps lock key
Alt
alt key on Linux and Windows (option key on macOS)
Option
option key on macOS (alt key on Linux and Windows)
Control
control key
Home
home key
PageUp
page up key
PageDown
page down key
LeftArrow
left arrow key
RightArrow
right arrow key
DownArrow
down arrow key
UpArrow
up arrow key
F1
F1 key
F2
F2 key
F3
F3 key
F4
F4 key
F5
F5 key
F6
F6 key
F7
F7 key
F8
F8 key
F9
F9 key
F10
F10 key
F11
F11 key
F12
F12 key
Layout(String)
keyboard layout dependent key
Raw(u16)
raw keycode eg 0x38