From d20151703aff7d7866afe5a6077ba396e1be70a7 Mon Sep 17 00:00:00 2001 From: Matthew O'Gorman Date: Fri, 29 May 2026 02:53:44 -0400 Subject: [PATCH] work needed for adding coin 3 and coin 4 inputs --- AGENTS.md | 2 +- models.go | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index 28cfb03..c946e15 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -235,7 +235,7 @@ result, err := parser.EvalExpressions(envStruct) - **System**: `execute`, `delay`, `evaluate`, `stop`, `echo` - **MiSTer**: `mister.ini`, `mister.core`, `mister.script`, `mister.mgl` - **HTTP**: `http.get`, `http.post` -- **Input**: `input.keyboard`, `input.gamepad`, `input.coinp1`, `input.coinp2` +- **Input**: `input.keyboard`, `input.gamepad`, `input.coinp1`, `input.coinp2`, `input.coinp3`, `input.coinp4` - **UI**: `ui.notice`, `ui.picker` - **Metadata**: `traits` (parsed from `#key=value` syntax) diff --git a/models.go b/models.go index 5677075..2212d96 100644 --- a/models.go +++ b/models.go @@ -56,6 +56,8 @@ const ( ZapScriptCmdInputGamepad = "input.gamepad" ZapScriptCmdInputCoinP1 = "input.coinp1" ZapScriptCmdInputCoinP2 = "input.coinp2" + ZapScriptCmdInputCoinP3 = "input.coinp3" + ZapScriptCmdInputCoinP4 = "input.coinp4" ZapScriptCmdUINotice = "ui.notice" ZapScriptCmdUIPicker = "ui.picker"