chiark / gitweb /
rtnl: make checks for default routes more strict
[elogind.git] / hwdb / 70-mouse.hwdb
1 # This file is part of systemd.
2 #
3 # Database for the DPI setting of mice, trackballs, other pointer devices that
4 # cannot be queried directly.
5 #
6 # The lookup keys are composed in:
7 #   70-mouse.rules
8 #
9 # Note: The format of the "mouse:" prefix match key is a
10 # contract between the rules file and the hardware data, it might
11 # change in later revisions to support more or better matches, it
12 # is not necessarily expected to be a stable ABI.
13 #
14 # Match string format:
15 # mouse:<subsystem>:v<vid>p<pid>:name:<name>:
16 #
17 # Supported subsystems: usb, bluetooth
18 # vid/pid as 4-digit hex lowercase vendor/product
19 #
20 # if vid/pid is unavailable, use
21 # mouse:*:name:<name>:
22 # if name is unavailable, use
23 # mouse:<subsystem>:v<vid>p<pid>:*
24 #
25 # For example, the following 5 matches all match the same mouse:
26 # mouse:usb:v17efp6019:name:Lenovo Optical USB Mouse:
27 # mouse:usb:*:name:Lenovo Optical USB Mouse:
28 # mouse:usb:v17efp6019:*
29 # mouse:*:name:Lenovo Optical USB Mouse:
30 #
31 # DPI settings are specified as
32 #    MOUSE_DPI=<dpi>[@<frequency>]
33 #
34 # Where <dpi> is the resolution in dots per inch, and <frequency> the
35 # optional sampling frequency in Hz.
36 #
37 # The value of MOUSE_DPI is:
38 # - a single integer for single-resolution mice, e.g.
39 #   MOUSE_DPI=800
40 #   or, if the frequency is known:
41 #   MOUSE_DPI=800@120
42 # - a space-separated list of resolutions for multi-resolution mice.
43 #   The default resolution must be prefixed by an asterisk, the resultions
44 #   in the database must be as shipped by the manufacturer. e.g.
45 #   MOUSE_DPI=400 *800 2000
46 #
47 #   The order of resolutions is as configured by the HW manufacturer or in
48 #   ascending order, whichever appropriate.
49 #
50 #   The frequency must be given to either none or all resolutions. If the
51 #   device supports multiple frequencies, the order of items is
52 #   MOUSE_DPI=r1@f1 r2@f1 r3@f1 r1@f2 r2@f2 r3@f2
53 #
54 #   If the default manufacturer-set resolution is unclear, a resolution of
55 #   800 or 1000 should be set as default, if available. If neither is
56 #   available, choose the "middle" resolution value of those available.
57 #
58 #   The list may contain a single item which must be marked with an
59 #   asterisk.
60 #
61 # Local changes to the a non-default resolution of the mouse (e.g. through
62 # third-party software) must not be entered into this file, use a local
63 # hwdb instead.
64 #
65 # To add local entries, create a new file
66 #   /etc/udev/hwdb.d/71-mouse-local.hwdb
67 # and add your rules there. To load the new rules execute (as root):
68 #   udevadm hwdb --update
69 #   udevadm trigger /dev/input/eventXX
70 # where /dev/input/eventXX is the mouse in question. If in
71 # doubt, simply use /dev/input/event* to reload all input rules.
72 #
73 # If your changes are generally applicable, open a bug report on
74 #   http://bugs.freedesktop.org/enter_bug.cgi?product=systemd
75 # and include your new rules, a description of the device, and the
76 # output of
77 #   udevadm info /dev/input/eventXX
78 # (or /dev/input/event*).
79
80 ##########################################
81 # Lenovo
82 ##########################################
83
84 mouse:usb:v17efp6019:name:Lenovo Optical USB Mouse:
85  MOUSE_DPI=1000@125
86
87 ##########################################
88 # Logitech
89 ##########################################
90
91 mouse:usb:v046dpc24e:name:Logitech G500s Laser Gaming Mouse:
92  MOUSE_DPI=400@500 *800@500 2000@500