Enable using received MIDI messages in variables

This commit is contained in:
WarmUpTill 2023-05-06 20:12:14 +02:00 committed by WarmUpTill
parent 372f12de95
commit 5ae1f38ea8

View File

@ -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;
}
}