filter: fix comment on how we calculate the slow-motion incline

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2016-12-15 16:30:15 +10:00
parent ab42022253
commit 8a389c90e9

View file

@ -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