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
@@ -99,6 +99,7 @@ public struct MIDIMappingSheet: View {
private var switchRowModels: [SwitchRowModel] {
var rows: [SwitchRowModel] = [
SwitchRowModel(id: "sw-rig", action: .rigBypass, label: "Rig Bypass"),
SwitchRowModel(id: "sw-all", action: .allBoards, label: "All Boards On"),
]
for boardPair in shoeGaze.boards.enumerated() {
let boardIndex: Int = boardPair.offset