diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2016-12-15 16:30:15 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2016-12-15 19:44:02 +1000 |
commit | 8a389c90e9db2d826077a5ace8cbc300aea0d8d7 (patch) | |
tree | f0ccf453368fe25011110a6858cb070e19bfcd0d /src | |
parent | ab420222534ec592f0ab1ee1f99279e377716a12 (diff) |
filter: fix comment on how we calculate the slow-motion incline
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filter.c b/src/filter.c index 83dcb35..4b15c30 100644 --- a/src/filter.c +++ b/src/filter.c @@ -624,7 +624,7 @@ pointer_accel_profile_linear(struct motion_filter *filter, for speeds up to 0.07 u/ms, we decelerate, down to 30% of input speed. hence 1 = a * 0.07 + 0.3 - 0.3 = a * 0.00 + 0.3 => a := 10 + 0.7 = a * 0.07 => a := 10 deceleration function is thus: y = 10x + 0.3 |