mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +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
|
||||
encoder_parameter (tb->value & dir_mask ? true : false, tb->value & step_mask);
|
||||
#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