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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"port": "<port>",
"action": "<action>",
"control": "<control>"
},
"name": "joystick_input"
}
}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 |