filter: move the pointer acceleration profiles back to units/ms
authorPeter Hutterer <peter.hutterer@who-t.net>
Fri, 31 Jul 2015 04:52:56 +0000 (14:52 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Mon, 3 Aug 2015 01:19:54 +0000 (11:19 +1000)
commit8a6825f1602aa9d9c4b29a83d296f55f68b316e0
treee4ef1220edec8ea9c704bd1124bd1ddb263601bb
parent26c8f2c442ac476027111ce7429c1a7897732d20
filter: move the pointer acceleration profiles back to units/ms

There is no need here to use µs since we're just handling speeds/thresholds,
not actual events where a ms granularity can be too high.

Moving back to ms lets us drop a bunch of zeroes that clutter up the code, and
since the acceleration functions are a bit magic anyway, having the various
1000.0 factors in there makes it even less obvious.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jonas Ådahl <jadahl@gmail.com>
src/filter.c
tools/ptraccel-debug.c