summaryrefslogtreecommitdiffstats
path: root/src/control/controlttrotary.cpp
blob: 4247d78d8f8e7647353cc2293a886a461fa73a5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "control/controlttrotary.h"

#include "moc_controlttrotary.cpp"

/* -------- ------------------------------------------------------
   Purpose: Creates a new rotary encoder
   Input:   key
   -------- ------------------------------------------------------ */
ControlTTRotary::ControlTTRotary(const ConfigKey& key)
        : ControlObject(key) {
    if (m_pControl) {
        m_pControl->setBehavior(
                new ControlTTRotaryBehavior());
    }
}