Press Eden Switch Button
eden_press_buttonSend Nintendo Switch button commands to a player through Eden's virtual gamepad. Supports A/B/X/Y, triggers, sticks, D-pad, and system buttons via the control endpoint.
Instructions
Send a Nintendo Switch button directly to a player through Eden's virtual gamepad. Supported buttons are A/B/X/Y, L/R/ZL/ZR, Plus/Minus, D-pad directions, LStick/RStick, SL/SR, Home, and Capture. Requires the Eden control endpoint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | tap | |
| button | Yes | ||
| player | No | ||
| hold_ms | No | ||
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||