Generic MIDI: midi controller buttons should only trigger on the PUSH, not release. This might have to be reveisited later, but it looks right to me and it fixes operation on 2 different devices here
This commit is contained in:
parent
ddb362fe17
commit
141352341c
@ -75,7 +75,7 @@ MIDIInvokable::midi_sense_note (Parser &, EventTwoBytes *msg, bool /* is_on */)
|
||||
void
|
||||
MIDIInvokable::midi_sense_controller (Parser &, EventTwoBytes *msg)
|
||||
{
|
||||
if (control_additional == msg->controller_number) {
|
||||
if (control_additional == msg->controller_number && msg->value > 0x40 ) {
|
||||
execute ();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user