[PATCH] improved mouse pointer acceleration
Simon Thum
simon.thum at gmx.de
Tue Jun 5 01:50:27 PDT 2007
Daniel Stone wrote:
> On Mon, Jun 04, 2007 at 08:09:34PM +0200, Soeren Sandmann wrote:
>> Simon Thum <simon.thum at gmx.de> writes:
>>> I'm now quite content with the patch and have tested it using two
>>> simultaneous devices with vastly different precision (crappy mouse vs.
>>> synaptics touchpad with native resolution). In about half a year,
>>> stability was never an issue.
>> It looks like your patch simply hardcodes a bunch of acceleration
>> scheme. Did you consider writing a new extension that would allow
>> clients to set the acceleration scheme more generally, say be
>> uploading the coefficients of a polynomium of something?
>
> Don't write a new extension. We already have device controls for this.
Right, and they can be used to tune the functions.
But on the other hand, it would be desirable to have more felixbility on
the long run, e.g. in MacOS you can supply a function defined
point-by-point (probably interpolated somehow).
This could be added without breaking ABI after the patch is in, since it
bears some extension points (though no extension of its own). I have
avoided hardcoding stuff. New profiles can be introduced easily, it's
just a matter of configuration to select them.
However, 'uploading coefficients' is one of the things I would like to
have but I decided to see if input-hotplug will ship with an approriate
(generic?) runtime device configuration mechanism. Maybe I just missed it?
More information about the xorg
mailing list