Send an input event
teleport_send_inputSend binary, analogue, or motion input events to control a TeleportXR avatar. Obtain the required input IDs via teleport_list_inputs for accurate input.
Instructions
Send one input event. binary takes value 0 or 1; analogue takes a single float; motion takes x and y. Use teleport_list_inputs for the ids the server expects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | motion only. | |
| y | No | motion only. | |
| kind | Yes | ||
| value | No | binary: 0 or 1. analogue: the value. Unused for motion. | |
| inputId | Yes | Input id from teleport_list_inputs. | |
| connectionId | Yes | Connection id, as returned by teleport_connect or teleport_list_connections. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sent | Yes |