Re: [PATCH v2 weston] evdev: Mouse speed and acceleration

2013-04-01 Thread Peter Hutterer
On Sun, Mar 31, 2013 at 10:04:44PM +0200, Martin Minarik wrote: > Computes an accurate velocity instead of approximation. > > Changes: > Add disclaimer. Implements 8 acceleration profiles taken from X ptrveloc.c. > The sampling has been fixed to handle eventual time overflow. Since we added them

[PATCH v2 weston] evdev: Mouse speed and acceleration

2013-04-01 Thread Martin Minarik
Computes an accurate velocity instead of approximation. Changes: Add disclaimer. Implements 8 acceleration profiles taken from X ptrveloc.c. The sampling has been fixed to handle eventual time overflow. Configuration: Tune the values in mouse_init(). The tune_constant_coefficient is simply a mul