summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authora1xd <[email protected]>2021-09-16 19:48:46 -0400
committera1xd <[email protected]>2021-09-23 22:36:18 -0400
commitbb0c957968cc014eb350ab7bf3e12ed6ad5ad960 (patch)
tree94ab1794ab5d9493578738bc55da99775d1e7e14
parentgeneralize power start-from-1 (diff)
downloadrawaccel-bb0c957968cc014eb350ab7bf3e12ed6ad5ad960.tar.xz
rawaccel-bb0c957968cc014eb350ab7bf3e12ed6ad5ad960.zip
broaden motivity fp_rep_range
accomodates extremely low/high DPI devices better, assuming growth rate and midpoint are in useful ranges
-rw-r--r--common/accel-motivity.hpp2
1 files changed, 1 insertions, 1 deletions
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;