mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-06-21 03:52:07 -05:00
Enable using received MIDI messages in variables
This commit is contained in:
parent
372f12de95
commit
5ae1f38ea8
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user