Mercurial > hg > touchkeys
diff Source/Mappings/Control/TouchkeyControlMappingFactory.cpp @ 35:3f948746885a
Further updates; fix in Control and add save in Vibrato
author | Andrew McPherson <andrewm@eecs.qmul.ac.uk> |
---|---|
date | Fri, 21 Mar 2014 00:23:32 +0000 |
parents | 20c28a319dee |
children | 85577160a0d4 |
line wrap: on
line diff
--- a/Source/Mappings/Control/TouchkeyControlMappingFactory.cpp Fri Mar 21 00:06:28 2014 +0000 +++ b/Source/Mappings/Control/TouchkeyControlMappingFactory.cpp Fri Mar 21 00:23:32 2014 +0000 @@ -233,12 +233,12 @@ inputParameter_ = properties.getIntValue("inputParameter"); inputType_ = properties.getIntValue("inputType"); - outputRangeMin_ = properties.getIntValue("outputRangeMin"); - outputRangeMax_ = properties.getIntValue("outputRangeMax"); - outputDefault_ = properties.getIntValue("outputDefault"); - threshold_ = properties.getIntValue("threshold"); - ignoresTwoFingers_ = properties.getIntValue("ignoresTwoFingers"); - ignoresThreeFingers_ = properties.getIntValue("ignoresThreeFingers"); + outputRangeMin_ = properties.getDoubleValue("outputRangeMin"); + outputRangeMax_ = properties.getDoubleValue("outputRangeMax"); + outputDefault_ = properties.getDoubleValue("outputDefault"); + threshold_ = properties.getDoubleValue("threshold"); + ignoresTwoFingers_ = properties.getBoolValue("ignoresTwoFingers"); + ignoresThreeFingers_ = properties.getBoolValue("ignoresThreeFingers"); direction_ = properties.getIntValue("direction"); // Update MIDI information; this doesn't actually change the controller