Merge pull request #495 from FoolHen/snapshot-next-prev-midi

Add snapshot next/prev MIDI bindings
This commit is contained in:
Robin Davies
2026-06-07 21:47:50 -04:00
committed by GitHub
8 changed files with 135 additions and 1 deletions
+3 -1
View File
@@ -602,7 +602,9 @@ export class PiPedalModel //implements PiPedalModel
(
[
MidiBinding.systemBinding("prevProgram"),
MidiBinding.systemBinding("nextProgram")
MidiBinding.systemBinding("nextProgram"),
MidiBinding.systemBinding("prevSnapshot"),
MidiBinding.systemBinding("nextSnapshot")
]
);
zoomedUiControl: ObservableProperty<ZoomedControlInfo | undefined> = new ObservableProperty<ZoomedControlInfo | undefined>(undefined);
@@ -159,6 +159,11 @@ export const SystemMidiBindingDialog =
}
else if (item.symbol === "snapshot6") {
displayName = "Snapshot 6";
}
else if (item.symbol === "nextSnapshot") {
displayName = "Next Snapshot";
} else if (item.symbol === "prevSnapshot") {
displayName = "Previous Snapshot";
} else if (item.symbol === "startHotspot") {
displayName = "Enable Hotspot";
} else if (item.symbol === "stopHotspot") {