Repository for eudev development
Go to file
Peter Hutterer 3481b5b976 hwdb: add a new db for the DPI/frequency settings of mice
Pointer acceleration for relative input devices (mice, trackballs, etc.)
applies to the deltas of the device. Alas, those deltas have no physical
reference point - a delta of 10 may be caused by a large movement of a
low-dpi mouse or by a minute movement of a high-dpi mouse.
Which makes pointer acceleration a bit useless and high-dpi devices
essentially unusable.

In an ideal world, we could read the DPI from the device directly and work
with that. In the world we actually live in, we need to compile this list
manually. This patch introduces the database, with the usual match formats
and a single property to be set on a device: MOUSE_DPI

That is either a single value for most mice, or a list of values for mice
that can change resolution at runtime. The exact format is detailed in the
hwdb file.

Note that we're explicitly overshooting the requirements we have for
libinput atm. Frequency could be detected in software and we don't
actually use the list of multiple resolutions (because we can't detect
when they change anyway). However, we might as well collect those values
from the get-go, adding/modifying what will eventually amount to hundreds
of entries is a bit cumbersome.

Note: we rely on the input_id builtin to tag us as mouse first, ordering
of the rules is important.

(David: fixed up typos and moved hwdb file into ./hwdb/)

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-11-28 08:12:30 -05:00
docs docs/gudev/gudev-sections.txt: add two missing functions 2014-08-05 10:14:50 -04:00
hwdb hwdb: add a new db for the DPI/frequency settings of mice 2014-11-28 08:12:30 -05:00
m4 m4/gtk-doc.m4: update to serial 2 2014-08-05 10:23:10 -04:00
man man: add emacs header to get correct indention in nxml-mode for the manpage XML files that use 2ch indenting 2014-11-27 08:29:53 -05:00
rule_generator rule-generator: make sure /etc/udev/rules.d/ exists prior to trying to write to it 2013-07-10 10:52:13 -04:00
rules hwdb: add a new db for the DPI/frequency settings of mice 2014-11-28 08:12:30 -05:00
src smack: introduce new SmackProcessLabel option 2014-11-27 12:34:36 -05:00
test src/udev: update the definition of udev_event_execute_rule 2014-11-16 08:44:52 -05:00
.gitignore man: ship pre-build man pages 2014-10-31 20:12:39 -04:00
autogen.sh man: ship pre-build man pages 2014-10-31 20:12:39 -04:00
configure.ac configure.ac: don't die on missing linux/btrfs.h, fixes issue #100 2014-11-16 13:40:43 -05:00
CONTRIBUTING Skip "udev hwdb: Support shipping pre-compiled database" 2014-10-28 20:44:14 -04:00
COPYING Final step of revamping the build system 2012-11-15 21:47:20 -05:00
Makefile.am Switch from external keymaps to internal (hwdb) keymaps 2013-07-24 16:27:01 -04:00
README README: Document the project home page 2013-09-27 17:49:45 -04:00

This git repo is a fork of git://anongit.freedesktop.org/systemd/systemd
with the aim of isolating udev from any particular flavor of system
initialization.  In this case, the isolation is from systemd.

This is a project started by Gentoo developers and testing is currently being
done mostly on OpenRC.  We welcome contribution from others using a variety of
system initializations to ensure eudev remains system initialization and
distribution neutral.

Homepage: http://www.gentoo.org/proj/en/eudev/

Tarballs of releases: http://dev.gentoo.org/~blueness/eudev/

Contact: You can email us as a group below.

IRC: Freenode/#gentoo-udev

Committers (alphabetical order by last name):

    Luca Barbato        (lu_zero)           <lu_zero@gentoo.org>
    Anthony G. Basile   (blueness)          <blueness@gentoo.org>
    Francisco Izquierdo (klondike)          <klondike@gentoo.org>
    Ian Stakenvicius    (axs)               <axs@gentoo.org>
    Matthew Thode       (prometheanfire)    <prometheanfire@gentoo.org>
    Tony Vroon          (chainsaw)          <tony@linx.net>
    Richard Yao         (ryao)              <ryao@gentoo.org>