Hutterer: pointer acceleration in libinput - building a DPI database for mice
Hutterer: pointer acceleration in libinput - building a DPI database for mice
Peter Hutterer describes
a new mechanism aimed at providing consistent acceleration behavior
across mice.
"For us, useless and unpredictable is bad, especially in the use-case
of everyday desktops. To work around that, libinput 0.7 now incorporates
the physical resolution into pointer acceleration. And to do that we need a
database, which will be provided by udev as of systemd 218 (unreleased at
the time of writing). This database incorporates the various devices and
their physical resolution, together with their sampling rate. udev sets the
resolution as the MOUSE_DPI property that we can read in libinput and use
as reference point in the pointer accel code.
" The developers are
looking for help to populate this new database.
