The Arcade needs a connection to a computer or other host device with a USB cable in order to emulate a keyboard. This function doesn’t work in the simulator.
Keyboard
Emulate typing with a keyboard using a USB connection.
keyboard.type("")
keyboard.key("", KeyboardKeyEvent.Press)
keyboard.mediaKey(KeyboardMediaKey.Mute, KeyboardKeyEvent.Press)
keyboard.functionKey(KeyboardFunctionKey.F1Key, KeyboardKeyEvent.Press)
See also
type, key, media key, function key
keyboard