summaryrefslogtreecommitdiffhomepage
path: root/migration
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-03-27 00:35:13 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-03-27 00:35:13 +0200
commit7c072cd1b62998c763a6c3e56ccd17c3f89f556c (patch)
treec08d581db84dd78cecde6c4805db921860c8fb83 /migration
parent324e943f39ad90bac4d66d23b75e43ca42ac84a7 (diff)
migration: adjust for accela var name changes
Diffstat (limited to 'migration')
-rw-r--r--migration/20160917_00-accela.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/migration/20160917_00-accela.cpp b/migration/20160917_00-accela.cpp
index 714f5f9b..832dcccf 100644
--- a/migration/20160917_00-accela.cpp
+++ b/migration/20160917_00-accela.cpp
@@ -37,9 +37,9 @@ struct move_accela_to_sliders : migration
{
{
{ "rotation-threshold", 4, 1, &s.rot_sensitivity },
- { "translation-threshold", 4, 1, &s.trans_sensitivity },
+ { "translation-threshold", 4, 1, &s.pos_sensitivity },
{ "rotation-deadzone", 4, 0, &s.rot_deadzone },
- { "translation-deadzone", 4, 0, &s.trans_deadzone },
+ { "translation-deadzone", 4, 0, &s.pos_deadzone },
{ "ewma", 1.25, 0, &s.ewma },
{ nullptr, 0, 0, nullptr },
}
@@ -118,7 +118,7 @@ struct move_accela_to_sliders : migration
// odr
constexpr double settings_accela::rot_gains[16][2];
-constexpr double settings_accela::trans_gains[16][2];
+constexpr double settings_accela::pos_gains[16][2];
constexpr const char* move_accela_to_sliders::old_bundle_name;
constexpr const char* move_accela_to_sliders::new_bundle_name;