mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
FaderPort8: Don't lock shift, when using shift + encoder
This commit is contained in:
parent
4f90bd6298
commit
c321bc82bb
1 changed files with 5 additions and 0 deletions
|
|
@ -607,6 +607,11 @@ FaderPort8::controller_handler (MIDI::Parser &, MIDI::EventTwoBytes* tb)
|
||||||
#else
|
#else
|
||||||
encoder_parameter (tb->value & dir_mask ? true : false, tb->value & step_mask);
|
encoder_parameter (tb->value & dir_mask ? true : false, tb->value & step_mask);
|
||||||
#endif
|
#endif
|
||||||
|
/* if Shift key is held while turning Pan/Param, don't lock shift. */
|
||||||
|
if (_shift_pressed > 0 && !_shift_lock) {
|
||||||
|
_shift_connection.disconnect ();
|
||||||
|
_shift_lock = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue