Home > vm-providers > Key
Keyboard keys that can be sent to a virtual machine through VM.sendKeyDownEvent() and VM.sendKeyUpEvent().
Signature:
export declare enum Key
Member | Value | Description |
---|---|---|
AltLeft | "AltLeft" |
|
AltRight | "AltRight" |
|
ArrowDown | "ArrowDown" |
|
ArrowLeft | "ArrowLeft" |
|
ArrowRight | "ArrowRight" |
|
ArrowUp | "ArrowUp" |
|
Backquote | "Backquote" |
|
Backslash | "Backslash" |
|
Backspace | "Backspace" |
|
BracketLeft | "BracketLeft" |
|
BracketRight | "BracketRight" |
|
CapsLock | "CapsLock" |
|
Comma | "Comma" |
|
ControlLeft | "ControlLeft" |
|
ControlRight | "ControlRight" |
|
Delete | "Delete" |
|
Digit0 | "Digit0" |
|
Digit1 | "Digit1" |
|
Digit2 | "Digit2" |
|
Digit3 | "Digit3" |
|
Digit4 | "Digit4" |
|
Digit5 | "Digit5" |
|
Digit6 | "Digit6" |
|
Digit7 | "Digit7" |
|
Digit8 | "Digit8" |
|
Digit9 | "Digit9" |
|
End | "End" |
|
Enter | "Enter" |
|
Equal | "Equal" |
|
Escape | "Escape" |
|
F1 | "F1" |
|
F10 | "F10" |
|
F11 | "F11" |
|
F12 | "F12" |
|
F2 | "F2" |
|
F3 | "F3" |
|
F4 | "F4" |
|
F5 | "F5" |
|
F6 | "F6" |
|
F7 | "F7" |
|
F8 | "F8" |
|
F9 | "F9" |
|
Help | "Help" |
|
Home | "Home" |
|
Insert | "Insert" |
|
IntlBackslash | "IntlBackslash" |
|
KeyA | "KeyA" |
|
KeyB | "KeyB" |
|
KeyC | "KeyC" |
|
KeyD | "KeyD" |
|
KeyE | "KeyE" |
|
KeyF | "KeyF" |
|
KeyG | "KeyG" |
|
KeyH | "KeyH" |
|
KeyI | "KeyI" |
|
KeyJ | "KeyJ" |
|
KeyK | "KeyK" |
|
KeyL | "KeyL" |
|
KeyM | "KeyM" |
|
KeyN | "KeyN" |
|
KeyO | "KeyO" |
|
KeyP | "KeyP" |
|
KeyQ | "KeyQ" |
|
KeyR | "KeyR" |
|
KeyS | "KeyS" |
|
KeyT | "KeyT" |
|
KeyU | "KeyU" |
|
KeyV | "KeyV" |
|
KeyW | "KeyW" |
|
KeyX | "KeyX" |
|
KeyY | "KeyY" |
|
KeyZ | "KeyZ" |
|
Menu | "Menu" |
|
Minus | "Minus" |
|
NumLock | "NumLock" |
|
Numpad0 | "Numpad0" |
|
Numpad1 | "Numpad1" |
|
Numpad2 | "Numpad2" |
|
Numpad3 | "Numpad3" |
|
Numpad4 | "Numpad4" |
|
Numpad5 | "Numpad5" |
|
Numpad6 | "Numpad6" |
|
Numpad7 | "Numpad7" |
|
Numpad8 | "Numpad8" |
|
Numpad9 | "Numpad9" |
|
NumpadAdd | "NumpadAdd" |
|
NumpadComma | "NumpadComma" |
|
NumpadDecimal | "NumpadDecimal" |
|
NumpadDivide | "NumpadDivide" |
|
NumpadEnter | "NumpadEnter" |
|
NumpadMultiply | "NumpadMultiply" |
|
NumpadSubtract | "NumpadSubtract" |
|
OSLeft | "OSLeft" |
|
OSRight | "OSRight" |
|
PageDown | "PageDown" |
|
PageUp | "PageUp" |
|
Period | "Period" |
|
Quote | "Quote" |
|
ScrollLock | "ScrollLock" |
|
Semicolon | "Semicolon" |
|
ShiftLeft | "ShiftLeft" |
|
ShiftRight | "ShiftRight" |
|
Slash | "Slash" |
|
Space | "Space" |
|
Tab | "Tab" |