summaryrefslogtreecommitdiffhomepage
path: root/filter-accela
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-03-27 00:24:48 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-03-27 00:24:48 +0200
commitbe47b9ef9b527d775769ef1a668e548716c719fa (patch)
tree1848ade5a721ae43e89dfed726dc479acab6b870 /filter-accela
parent9f8c137bf602f6625aab115cad73cc1d8308d928 (diff)
filter/accela: don't allow for very high values on the slider
I already backed off a similar change months ago. But after giving it some thought, if you need an absurd amount of filtering then something must be wrong with your tracker setup.
Diffstat (limited to 'filter-accela')
-rw-r--r--filter-accela/accela-settings.hpp16
-rw-r--r--filter-accela/ftnoir_accela_filtercontrols.ui14
2 files changed, 15 insertions, 15 deletions
diff --git a/filter-accela/accela-settings.hpp b/filter-accela/accela-settings.hpp
index 2ecd8bbc..ea1b125c 100644
--- a/filter-accela/accela-settings.hpp
+++ b/filter-accela/accela-settings.hpp
@@ -44,17 +44,17 @@ struct settings_accela : opts
static void make_splines(spline& rot, spline& trans);
- value<slider_value> rot_sensitivity, trans_sensitivity;
- value<slider_value> rot_deadzone, trans_deadzone;
+ value<slider_value> rot_sensitivity, pos_sensitivity;
+ value<slider_value> rot_deadzone, pos_deadzone;
value<slider_value> ewma;
value<slider_value> rot_nonlinearity;
settings_accela() :
opts("accela-sliders"),
- rot_sensitivity(b, "rotation-sensitivity", slider_value(1.5, .05, 5)),
- trans_sensitivity(b, "translation-sensitivity", slider_value(1., .05, 1.5)),
- rot_deadzone(b, "rotation-deadzone", slider_value(.03, 0, 2)),
- trans_deadzone(b, "translation-deadzone", slider_value(.1, 0, 1)),
- ewma(b, "ewma", slider_value(0, 0, 30)),
- rot_nonlinearity(b, "rotation-nonlinearity", slider_value(1.2, 1, 1.5))
+ rot_sensitivity(b, "rotation-sensitivity", slider_value(1.5, .1, 2)),
+ pos_sensitivity(b, "translation-sensitivity", slider_value(1., .05, 1.5)),
+ rot_deadzone(b, "rotation-deadzone", slider_value(.03, 0, .1)),
+ pos_deadzone(b, "translation-deadzone", slider_value(.1, 0, 1)),
+ ewma(b, "ewma", slider_value(0, 0, 15)),
+ rot_nonlinearity(b, "rotation-nonlinearity", slider_value(1.2, 1, 1.3))
{}
};
diff --git a/filter-accela/ftnoir_accela_filtercontrols.ui b/filter-accela/ftnoir_accela_filtercontrols.ui
index 66cc967f..621d32f7 100644
--- a/filter-accela/ftnoir_accela_filtercontrols.ui
+++ b/filter-accela/ftnoir_accela_filtercontrols.ui
@@ -80,7 +80,7 @@
<number>0</number>
</property>
<property name="maximum">
- <number>60</number>
+ <number>15</number>
</property>
<property name="pageStep">
<number>3</number>
@@ -155,7 +155,7 @@
<number>0</number>
</property>
<property name="maximum">
- <number>100</number>
+ <number>20</number>
</property>
<property name="pageStep">
<number>5</number>
@@ -197,7 +197,7 @@
<number>0</number>
</property>
<property name="maximum">
- <number>145</number>
+ <number>29</number>
</property>
<property name="pageStep">
<number>15</number>
@@ -278,10 +278,10 @@
<number>0</number>
</property>
<property name="maximum">
- <number>495</number>
+ <number>38</number>
</property>
<property name="pageStep">
- <number>15</number>
+ <number>5</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
@@ -326,7 +326,7 @@
<number>0</number>
</property>
<property name="maximum">
- <number>200</number>
+ <number>10</number>
</property>
<property name="pageStep">
<number>5</number>
@@ -416,7 +416,7 @@
<number>0</number>
</property>
<property name="maximum">
- <number>20</number>
+ <number>12</number>
</property>
<property name="pageStep">
<number>2</number>