chiark / gitweb /
hwdb: add two more mice to the DPI database
[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 # Dell
82 ##########################################
83
84 # Dell USB Laser Mouse
85 mouse:usb:v046dpc063:name:DELL DELL USB Laser Mouse:
86  MOUSE_DPI=1000@125
87
88 ##########################################
89 # Lenovo
90 ##########################################
91
92 # Lenovo Optical USB Mouse
93 mouse:usb:v17efp6019:name:Lenovo Optical USB Mouse:
94  MOUSE_DPI=1000@125
95
96 # ThinkPad USB Laser Mouse
97 mouse:usb:v17efp6044:name:ThinkPad USB Laser Mouse:
98  MOUSE_DPI=1200@125
99
100 ##########################################
101 # Logitech
102 ##########################################
103
104 # Note: devices using the Logitech Unifying receiver will need two entries,
105 # one for pre 3.19 with the wireless PID in the name, one for 3.19 with the
106 # model name. The usb vid/pid is the same for all those devices.
107 # Until 3.19 is available, this list just has the Wireless PID entry.
108
109 # Logitech B605 Wireless Mouse (also M505)
110 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:101d:
111  MOUSE_DPI=900@166
112
113 # Logitech Cordless Click! Plus
114 mouse:usb:v046dpc50e:name:Logitech USB Receiver:
115  MOUSE_DPI=800@125
116
117 # Logitech G500s Laser Gaming Mouse
118 mouse:usb:v046dpc24e:name:Logitech G500s Laser Gaming Mouse:
119  MOUSE_DPI=400@500 *800@500 2000@500
120
121 # Logitech G700 Laser Mouse (Wired)
122 mouse:usb:v046dpc06b:name:Logitech G700 Laser Mouse:
123 # Logitech G700 Laser Mouse (Wireless)
124 mouse:usb:v046dpc531:name:Logitech USB Receiver:
125  MOUSE_DPI=*1000@500 3800@500 500@1000 1500@1000 2000@1000
126
127 # Logitech Wireless Mouse M185
128 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:4008:
129  MOUSE_DPI=800@166
130
131 # Logitech M705 (marathon mouse)
132 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:101b:
133  MOUSE_DPI=800@166
134
135 # Logitech ZoneTouch Mouse T400
136 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:4026:
137  MOUSE_DPI=1300@166
138
139 # Logitech T620 (or, the soap)
140 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:4027:
141  MOUSE_DPI=1200@250
142
143 # Logitech Wirless Mouse M325
144 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:400a:
145  MOUSE_DPI=600@166
146
147 # Logitech Ultrathin Touch Mouse
148 mouse:bluetooth:v046dpb00d:name:Ultrathin Touch Mouse:
149  MOUSE_DPI=1000@1000
150
151 # Logitech USB Optical Mouse
152 mouse:usb:v046dpc05a:name:Logitech USB Optical Mouse:
153  MOUSE_DPI=1000@125
154
155 # Logitech USB-PS/2 M-BZ96C
156 mouse:usb:v046dpc045:name:Logitech USB-PS/2 Optical Mouse:
157  MOUSE_DPI=600@125
158
159 # Logitech USB-PS/2 M-BT58
160 mouse:usb:v046dpc03e:name:Logitech USB-PS/2 Optical Mouse:
161  MOUSE_DPI=400@125
162
163 ##########################################
164 # Microsoft
165 ##########################################
166
167 # Microsoft Arc Touch Mouse USB
168 mouse:usb:v045ep07b1:name:Microsoft Microsoft® Nano Transceiver v1.0:
169  MOUSE_DPI=1400@142
170
171 ##########################################
172 # Oklick
173 ##########################################
174
175 # Oklick 406S Bluetooth Laster Mouse
176 mouse:bluetooth:v056ep0061:name:Laser  BTmouse:
177  MOUSE_DPI=*800@333 1600@333