send_key
Send keystrokes to the ZEsarUX emulator: tap printable characters or special keys, or press/release raw key codes for emulated input.
Instructions
Send a single key to the emulator. Printable keys (and ENTER/SPACE/TAB) are delivered via send-keys-ascii. press/release require a numeric util_teclas key_code (send-keys-event).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | A single printable character to type, or the words ENTER / SPACE / TAB. For special keys with no printable form, use key_code + action. | |
| action | No | tap = type the character; press/release require key_code (raw key event). | tap |
| key_code | No | util_teclas enum value (from ZEsarUX utils.h). Required for press/release. | |
| time | No | ms between keystrokes for tap (100 = normal BASIC speed) |