summaryrefslogtreecommitdiffstats
path: root/src/controllinpotmeter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/controllinpotmeter.cpp')
-rw-r--r--src/controllinpotmeter.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/controllinpotmeter.cpp b/src/controllinpotmeter.cpp
index 0f302b028f..7b9b15ff37 100644
--- a/src/controllinpotmeter.cpp
+++ b/src/controllinpotmeter.cpp
@@ -1,6 +1,8 @@
#include "controllinpotmeter.h"
#include "defs.h"
+// This control has a linear link between the m_dValue and the Midi Value
+// limitation: m_dMaxValue represents the midi value of 128 and is never reached
ControlLinPotmeter::ControlLinPotmeter(ConfigKey key, double dMinValue, double dMaxValue) :
ControlPotmeter(key, dMinValue, dMaxValue) {
if (m_pControl) {
@@ -8,3 +10,5 @@ ControlLinPotmeter::ControlLinPotmeter(ConfigKey key, double dMinValue, double d
new ControlLinPotmeterBehavior(dMinValue, dMaxValue));
}
}
+
+