joystick_input
Send joystick commands to Commodore 64 ports 1 or 2, pressing, releasing, or tapping directions and fire. Automatically resumes emulation if stopped and restores the previous pause state.
Instructions
Sends joystick input to C64 joystick port 1 or 2. Automatically resumes if stopped and restores pause state after.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | Joystick port number | |
| action | Yes | Joystick action to apply | |
| control | Yes | Joystick direction or fire control | |
| durationMs | No | Tap duration in milliseconds (will be clamped to reasonable range) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| meta | Yes |