eudev/rules
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
..
42-usb-hid-pm.rules rules: bring up to date 2014-08-05 10:14:50 -04:00
50-udev-default.rules rules: add loop-control and btrfs-control to "disk" group 2014-06-19 08:01:37 -04:00
60-cdrom_id.rules udev: move all unconditionally installed rules to rules/ 2012-04-14 20:10:03 +02:00
60-drm.rules rules: bring up to date with upstream. 2014-01-11 20:46:58 -05:00
60-keyboard.rules rules: bring up to date 2014-08-05 10:14:50 -04:00
60-persistent-alsa.rules move imported udev into place 2012-04-04 05:05:07 +02:00
60-persistent-input.rules rules: Fix persistent input symlinks for interface 00 2012-10-11 08:21:17 +02:00
60-persistent-serial.rules move imported udev into place 2012-04-04 05:05:07 +02:00
60-persistent-storage-tape.rules move imported udev into place 2012-04-04 05:05:07 +02:00
60-persistent-storage.rules rules: bring up to date 2014-08-05 10:14:50 -04:00
60-persistent-v4l.rules udev: move all unconditionally installed rules to rules/ 2012-04-14 20:10:03 +02:00
61-accelerometer.rules udev: move all unconditionally installed rules to rules/ 2012-04-14 20:10:03 +02:00
64-btrfs.rules udev: add btrfs support 2012-09-17 13:54:03 +02:00
70-mouse.rules hwdb: add a new db for the DPI/frequency settings of mice 2014-11-28 08:12:30 -05:00
75-net-description.rules rules: bring up to date with upstream 2013-07-30 08:48:51 -04:00
75-probe_mtd.rules Permit users to disable module loading support 2012-11-23 01:55:28 -05:00
75-tty-description.rules rules: bring up to date with upstream 2013-07-30 08:48:51 -04:00
78-sound-card.rules udev: add hardware database support 2012-10-23 16:43:32 +02:00
80-drivers-modprobe.rules provide alternative 80-drivers.rules for --disable-kmod 2013-08-01 15:57:04 -04:00
80-drivers.rules rules: bring up to date with upstream. 2014-01-11 20:46:58 -05:00
80-net-name-slot.rules 80-net-name-slot.rules: only rename network interfaces on ACTION=="add" 2013-09-10 05:30:35 -04:00
80-net-setup-link.rules udev: import the full db on MOVE events for devices without dev_t 2014-09-10 21:30:25 -04:00
95-udev-late.rules move imported udev into place 2012-04-04 05:05:07 +02:00
Makefile.am hwdb: add a new db for the DPI/frequency settings of mice 2014-11-28 08:12:30 -05:00