diff options
| author | a1xd <[email protected]> | 2021-09-16 19:48:46 -0400 |
|---|---|---|
| committer | a1xd <[email protected]> | 2021-09-23 22:36:18 -0400 |
| commit | bb0c957968cc014eb350ab7bf3e12ed6ad5ad960 (patch) | |
| tree | 94ab1794ab5d9493578738bc55da99775d1e7e14 /common | |
| parent | generalize power start-from-1 (diff) | |
| download | rawaccel-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
Diffstat (limited to 'common')
| -rw-r--r-- | common/accel-motivity.hpp | 2 |
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; |