emu_input
Send a press, long press, or tap to the running emulator. Specify button (back/up/select/down) and duration for long presses.
Instructions
Send one input to the running emulator.
action is 'press', 'longpress', or 'tap'. 'press'/'longpress'
require button (one of back/up/select/down); 'longpress' also
requires duration_ms (> 0). 'tap' fires an accelerometer tap and
takes no button or duration. Button and action names are validated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| button | No | ||
| duration_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||