Add "All Boards On" as a mappable switch action

Maps the rig's "All" button (selectAllBoards — cancel any solo, bring every
board back up) to a Program Change. One-shot (no latch); rig-level, so no
board hint. Appears in the Switches section under Rig Bypass.

Test: PC fires selectAllBoards, clearing an active solo. 320 green; both app
targets build.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-01 12:40:27 -07:00
parent 1ba622a611
commit a7bbda4166
4 changed files with 27 additions and 1 deletions
@@ -41,6 +41,8 @@ public struct MIDIMap: Codable, Equatable, Sendable {
/// so boolean actions latch in software; `boardSolo` is exclusive (radio).
public enum Action: Codable, Equatable, Sendable {
case rigBypass
/// Cancels any solo and makes every board audible again (the "All" button).
case allBoards
case boardSolo(boardIndex: Int)
case boardAudible(boardIndex: Int)
case boardBypass(boardIndex: Int)