summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-07-04 05:00:50 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-07-04 05:00:50 +0200
commitab742baa98af0d8632d9fceafd3fd8fc7f8ceb8e (patch)
treee753b80948126d4eb8c4b898a4bd71b290fea58d
parent2b8e059fa63299442527243df494c63aa90587de (diff)
accela: three times more sensitivityopentrack-2.3-rc13p1
Slider range was too small.
-rw-r--r--ftnoir_filter_accela/ftnoir_filter_accela.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/ftnoir_filter_accela/ftnoir_filter_accela.cpp b/ftnoir_filter_accela/ftnoir_filter_accela.cpp
index 779b0728..c34c5ff4 100644
--- a/ftnoir_filter_accela/ftnoir_filter_accela.cpp
+++ b/ftnoir_filter_accela/ftnoir_filter_accela.cpp
@@ -13,22 +13,22 @@
using namespace std;
static constexpr double rot_gains[][2] = {
- { 7, 200 },
- { 6, 100 },
- { 5, 45 },
- { 4, 15 },
- { 3, 5 },
- { 2, 1.4 },
- { 1, .4 },
+ { 2.33, 200 },
+ { 2, 100 },
+ { 1.66, 45 },
+ { 1.33, 15 },
+ { 1, 5 },
+ { .66, 1.4 },
+ { .33, .4 },
{ 0, 0 },
{ -1, 0 }
};
static constexpr double trans_gains[][2] = {
- { 5, 180 },
- { 4, 64 },
- { 3, 20 },
- { 2, 5 },
- { 1, .7 },
+ { 1.66, 180 },
+ { 1.33, 64 },
+ { 1, 20 },
+ { .66, 5 },
+ { .33, .7 },
{ 0, 0 },
{ -1, 0 }
};