Smooth scrolling

Simon Thum simon.thum at gmx.de
Thu Apr 8 01:37:32 PDT 2010


Am 07.04.2010 23:46, schrieb Éric Piel:
> Failure to have a single value to map one click to one action would lead
> to lots of small very frustrating regressions. That's why I was
> suggesting 100u (or whatever other number which fits) to be set in
> stone. That said, the usage of the resolution field to carry the
> "units/scrollclick" would probably work as well. It's like an official
> value dependant on the driver. It just requires to make sure that the
> normal meaning of resolution will never be useful in this context (and a
> priori, I cannot think of any use), and that the core pointer does the
> appropriate conversion when merging several devices.
+1 for the resolution field.

I'm not sure but it might be that axes are considered immutable after
construction, meaning if we want users to be able to override this
resolution there may need to be a xorg.conf[.d] option for it so it's
known at device initialization time.

Cheers,

Simon


More information about the xorg-devel mailing list