pressKey presses and holds a single Key for Key combinations
Modifier Keys are to be given in "natural" ordering, so first modifier Keys, followed by the Key to press
example
// Will press and hold key combination STRG + Vawait keyboard.pressKey(Key.STRG, Key.A);
pressKey releases a single Key for Key combinations
Modifier Keys are to be given in "natural" ordering, so first modifier Keys, followed by the Key to press
example
// Will release key combination STRG + Vawait keyboard.releaseKey(Key.STRG, Key.A);
Keyboard class provides methods to emulate keyboard input