summaryrefslogtreecommitdiffhomepage
path: root/filter-accela
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-04-30 15:35:00 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-04-30 15:35:00 +0200
commitfeeb385dcf41025981c37ed14256f27c33ea590f (patch)
tree1b03dbea34298c1ed0f979df65b015d501b78544 /filter-accela
parente1def7326e8aaf6fb662ebfd4144d734705dfe55 (diff)
filter/accela: allow up to 300 ms smoothing
Diffstat (limited to 'filter-accela')
-rw-r--r--filter-accela/accela-settings.hpp2
-rw-r--r--filter-accela/ftnoir_accela_filtercontrols.ui9
2 files changed, 8 insertions, 3 deletions
diff --git a/filter-accela/accela-settings.hpp b/filter-accela/accela-settings.hpp
index 4e6ab9f6..c8357144 100644
--- a/filter-accela/accela-settings.hpp
+++ b/filter-accela/accela-settings.hpp
@@ -51,7 +51,7 @@ struct settings_accela : opts
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, 500)),
+ ewma(b, "ewma", slider_value(0, 0, 300)),
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 a07df9cc..a7720f44 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>10</number>
+ <number>6</number>
</property>
<property name="pageStep">
<number>5</number>
@@ -502,7 +502,12 @@
</layout>
</widget>
<tabstops>
- <tabstop>buttonBox</tabstop>
+ <tabstop>ewma_slider</tabstop>
+ <tabstop>rotation_slider</tabstop>
+ <tabstop>rot_dz_slider</tabstop>
+ <tabstop>translation_slider</tabstop>
+ <tabstop>trans_dz_slider</tabstop>
+ <tabstop>rot_nl_slider</tabstop>
</tabstops>
<resources>
<include location="../gui/opentrack-res.qrc"/>