From bb0c957968cc014eb350ab7bf3e12ed6ad5ad960 Mon Sep 17 00:00:00 2001 From: a1xd <68629610+a1xd@users.noreply.github.com> Date: Thu, 16 Sep 2021 19:48:46 -0400 Subject: broaden motivity fp_rep_range accomodates extremely low/high DPI devices better, assuming growth rate and midpoint are in useful ranges --- common/accel-motivity.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') diff --git a/common/accel-motivity.hpp b/common/accel-motivity.hpp index f35e9ca..e9be023 100644 --- a/common/accel-motivity.hpp +++ b/common/accel-motivity.hpp @@ -37,7 +37,7 @@ namespace rawaccel { loglog_sigmoid(const accel_args& args) { - init({ 0, 8, 8 }, args.gain); + init({ -3, 9, 8 }, true); double sum = 0; double a = 0; -- cgit v1.2.3