mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue