press_b
Simulate pressing the B button on a GameBoy emulator. Configure the duration in frames to control how long the button is held, enabling precise input for gameplay or testing.
Instructions
Press the B button on the GameBoy
Input Schema
Name | Required | Description | Default |
---|---|---|---|
duration_frames | No | Number of frames to hold the button |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"duration_frames": {
"default": 25,
"description": "Number of frames to hold the button",
"exclusiveMinimum": 0,
"type": "integer"
}
},
"type": "object"
}