avoid handling pitchbend (fader) messages while SHIFT modifier is active.
See comment in code for more detail
This commit is contained in:
parent
40a4e2e6af
commit
c78426968f
@ -403,6 +403,14 @@ Surface::handle_midi_pitchbend_message (MIDI::Parser&, MIDI::pitchbend_t pb, uin
|
||||
turn_it_on ();
|
||||
}
|
||||
|
||||
if (_mcp.main_modifier_state() & MackieControlProtocol::MODIFIER_SHIFT) {
|
||||
/* user is doing a reset to unity gain but device sends a PB
|
||||
* message in the middle of the touch on/off messages. Ignore
|
||||
* it.
|
||||
*/
|
||||
return;
|
||||
}
|
||||
|
||||
Fader* fader = faders[fader_id];
|
||||
|
||||
if (fader) {
|
||||
|
Loading…
Reference in New Issue
Block a user