![]() |
Mixxx
|
#include <controlttrotary.h>
Public Member Functions | |
ControlTTRotary (ConfigKey key) | |
double | getValueFromWidget (double dValue) |
double | getValueToWidget (double dValue) |
Protected Member Functions | |
void | setValueFromMidi (MidiCategory c, double v) |
Turn Table rotary controller class. The turntable rotary sends midi events: 0 when turning backwards, and 1 when turning forward. This class keeps track of it's speed, using a timer interrupt
Definition at line 26 of file controlttrotary.h.
ControlTTRotary::ControlTTRotary | ( | ConfigKey | key | ) |
Definition at line 23 of file controlttrotary.cpp.
double ControlTTRotary::getValueFromWidget | ( | double | dValue | ) | [virtual] |
Return a ControlObject value, corresponding to the widget input value. Thread safe.
Reimplemented from ControlObject.
Definition at line 27 of file controlttrotary.cpp.
double ControlTTRotary::getValueToWidget | ( | double | dValue | ) | [virtual] |
Return a widget value corresponding to the ControlObject input value. Thread safe.
Reimplemented from ControlObject.
Definition at line 39 of file controlttrotary.cpp.
void ControlTTRotary::setValueFromMidi | ( | MidiCategory | , |
double | v | ||
) | [protected, virtual] |
Called when a widget has changed value. Not thread safe.
Reimplemented from ControlObject.
Definition at line 44 of file controlttrotary.cpp.