summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--filter-accela/accela-settings.hpp18
1 files changed, 7 insertions, 11 deletions
diff --git a/filter-accela/accela-settings.hpp b/filter-accela/accela-settings.hpp
index 8cf684d1..073a9f3f 100644
--- a/filter-accela/accela-settings.hpp
+++ b/filter-accela/accela-settings.hpp
@@ -47,15 +47,11 @@ struct settings_accela : opts
static void make_splines(spline& rot, spline& pos);
- value<slider_value> rot_sensitivity, pos_sensitivity;
- value<slider_value> rot_deadzone, pos_deadzone;
- value<slider_value> ewma;
- settings_accela() :
- opts("accela-sliders"),
- rot_sensitivity(b, "rotation-sensitivity", slider_value(1.5, .05, 2.5)),
- pos_sensitivity(b, "translation-sensitivity", slider_value(1., .05, 1.5)),
- rot_deadzone(b, "rotation-deadzone", slider_value(.03, 0, .2)),
- pos_deadzone(b, "translation-deadzone", slider_value(.1, 0, 1)),
- ewma(b, "ewma", slider_value(0, 0, 200))
- {}
+ value<slider_value> rot_sensitivity { b, "rotation-sensitivity", slider_value(1.5, .05, 2.5) },
+ pos_sensitivity { b, "translation-sensitivity", slider_value(1., .05, 1.5) },
+ rot_deadzone { b, "rotation-deadzone", slider_value(.03, 0, .2) },
+ pos_deadzone { b, "translation-deadzone", slider_value(.1, 0, 1) },
+ ewma { b, "ewma", slider_value(0, 0, 200) };
+
+ settings_accela() : opts("accela-sliders") {}
};