From c321bc82bb5c932f9df6cec82679476113a26e22 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 12 Feb 2020 20:31:10 +0100 Subject: [PATCH] FaderPort8: Don't lock shift, when using shift + encoder --- libs/surfaces/faderport8/faderport8.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libs/surfaces/faderport8/faderport8.cc b/libs/surfaces/faderport8/faderport8.cc index 5e5cf498f7..d038eca62e 100644 --- a/libs/surfaces/faderport8/faderport8.cc +++ b/libs/surfaces/faderport8/faderport8.cc @@ -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; + } } }