mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-15 22:04:17 -05:00
Enable using received MIDI messages in variables
This commit is contained in:
@@ -19,6 +19,8 @@ bool MacroConditionMidi::CheckCondition()
|
||||
|
||||
for (const auto &m : *messages) {
|
||||
if (m.Matches(_message)) {
|
||||
SetVariableValue(std::to_string(m.Note()) + " " +
|
||||
std::to_string(m.Value()));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user