Skip to content

Commit eb2ddc5

Browse files
authored
work needed for adding coin 3 and coin 4 inputs (#31)
1 parent 63a13b1 commit eb2ddc5

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ result, err := parser.EvalExpressions(envStruct)
235235
- **System**: `execute`, `delay`, `evaluate`, `stop`, `echo`
236236
- **MiSTer**: `mister.ini`, `mister.core`, `mister.script`, `mister.mgl`
237237
- **HTTP**: `http.get`, `http.post`
238-
- **Input**: `input.keyboard`, `input.gamepad`, `input.coinp1`, `input.coinp2`
238+
- **Input**: `input.keyboard`, `input.gamepad`, `input.coinp1`, `input.coinp2`, `input.coinp3`, `input.coinp4`
239239
- **UI**: `ui.notice`, `ui.picker`
240240
- **Metadata**: `traits` (parsed from `#key=value` syntax)
241241

models.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ const (
5656
ZapScriptCmdInputGamepad = "input.gamepad"
5757
ZapScriptCmdInputCoinP1 = "input.coinp1"
5858
ZapScriptCmdInputCoinP2 = "input.coinp2"
59+
ZapScriptCmdInputCoinP3 = "input.coinp3"
60+
ZapScriptCmdInputCoinP4 = "input.coinp4"
5961

6062
ZapScriptCmdUINotice = "ui.notice"
6163
ZapScriptCmdUIPicker = "ui.picker"

0 commit comments

Comments
 (0)