diff options
Diffstat (limited to 'src/controllers/controllerengine.cpp')
-rw-r--r-- | src/controllers/controllerengine.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/controllers/controllerengine.cpp b/src/controllers/controllerengine.cpp index 63d54c2e58..7e25c7a28f 100644 --- a/src/controllers/controllerengine.cpp +++ b/src/controllers/controllerengine.cpp @@ -1440,6 +1440,22 @@ void ControllerEngine::softTakeover(QString group, QString name, bool set) { } /* -------- ------------------------------------------------------ + Purpose: Ignores the next value for the given ControlObject + This is used when an absolute physical control is changed to + to operate on a different ControlObject + Input: ControlObject group and key values + Output: - + -------- ------------------------------------------------------ */ +void ControllerEngine::softTakeoverIgnoreNext(QString group, QString name) { + ControlObject* pControl = ControlObject::getControl(ConfigKey(group, name)); + if (!pControl) { + return; + } + + m_st.ignoreNext(pControl); +} + +/* -------- ------------------------------------------------------ Purpose: [En/dis]ables spinback effect for the channel Input: deck, activate/deactivate, factor (optional), delay (optional), rate (optional) |