Send input to device
device_inputSend one tap, swipe, text or key event to a running device. Coordinates are device pixels (pixel_8 is 720x1560; see profiles_list). tap: x, y. swipe: x1, y1, x2, y2, optional ms (default 300). text: text (max 500 chars). key: HOME, BACK, RECENTS, ENTER, DEL or TAB. Take a screenshot afterwards to see the effect.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| ms | No | Swipe duration | |
| x1 | No | ||
| x2 | No | ||
| y1 | No | ||
| y2 | No | ||
| key | No | ||
| text | No | ||
| type | Yes | ||
| device_id | Yes |