chiark / gitweb /
hwbd: add click angle for the Logitech M325
[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 # To add local entries, create a new file
32 #   /etc/udev/hwdb.d/71-mouse-local.hwdb
33 # and add your rules there. To load the new rules execute (as root):
34 #   udevadm hwdb --update
35 #   udevadm trigger /dev/input/eventXX
36 # where /dev/input/eventXX is the mouse in question. If in
37 # doubt, simply use /dev/input/event* to reload all input rules.
38 #
39 # If your changes are generally applicable, open a bug report on
40 #   http://bugs.freedesktop.org/enter_bug.cgi?product=systemd
41 # and include your new rules, a description of the device, and the
42 # output of
43 #   udevadm info /dev/input/eventXX
44 # (or /dev/input/event*).
45 #
46 # Allowed properties are:
47 #    MOUSE_DPI
48 #    MOUSE_WHEEL_CLICK_ANGLE
49 #
50 #########################################
51 #               MOUSE_DPI               #
52 #########################################
53 #
54 # DPI settings are specified as
55 #    MOUSE_DPI=<dpi>[@<frequency>]
56 #
57 # Where <dpi> is the resolution in dots per inch, and <frequency> the
58 # sampling frequency in Hz (optional). If a device supports dynamic
59 # frequency scaling, the maximum frequency should be used. For devices
60 # supporting multiple fixed frequencies, see below.
61 #
62 # The value of MOUSE_DPI is:
63 # - a single integer for single-resolution mice, e.g.
64 #   MOUSE_DPI=800
65 #   or, if the frequency is known:
66 #   MOUSE_DPI=800@120
67 # - a space-separated list of resolutions for multi-resolution mice.
68 #   The default resolution must be prefixed by an asterisk, the resolutions
69 #   in the database must be as shipped by the manufacturer. e.g.
70 #   MOUSE_DPI=400 *800 2000
71 #
72 #   The order of resolutions is as configured by the HW manufacturer or in
73 #   ascending order, whichever appropriate.
74 #
75 #   The frequency must be given to either none or all resolutions. If the
76 #   device supports multiple fixed frequencies, the order of items is
77 #   MOUSE_DPI=r1@f1 r2@f1 r3@f1 r1@f2 r2@f2 r3@f2
78 #
79 #   If the default manufacturer-set resolution is unclear, a resolution of
80 #   800 or 1000 should be set as default, if available. If neither is
81 #   available, choose the "middle" resolution value of those available.
82 #
83 #   The list may contain a single item which must be marked with an
84 #   asterisk.
85 #
86 # Local changes to the a non-default resolution of the mouse (e.g. through
87 # third-party software) must not be entered into this file, use a local
88 # hwdb instead.
89 #
90 #########################################
91 #       MOUSE_WHEEL_CLICK_ANGLE         #
92 #########################################
93 #
94 # The angle in degrees per mouse wheel 'click', specified as
95 #     MOUSE_WHEEL_CLICK_ANGLE=<degrees>
96 #
97 # Most mice have a 15 degree click stop (24 clicks per full rotation).
98 #
99
100 #
101 # Sort by by brand, type (usb, bluetooth), DPI, frequency.
102 # For mice with switchable resolution, sort by the starred entry.
103
104 ##########################################
105 # Chicony
106 ##########################################
107
108 # Chicony 2.4G Multimedia Wireless Kit MG-0919
109 mouse:usb:v04f2p0963:name:Chicony 2.4G Multimedia Wireless Kit:
110  MOUSE_DPI=1000@142
111
112 ##########################################
113 # Dell
114 ##########################################
115
116 # Dell USB Laser Mouse
117 mouse:usb:v046dpc063:name:DELL DELL USB Laser Mouse:
118  MOUSE_DPI=1000@125
119
120 ##########################################
121 # Fujitsu Siemens
122 ##########################################
123
124 mouse:usb:v0461p4d16:name:USB Optical Mouse:
125  MOUSE_DPI=500@125
126
127 ##########################################
128 # Lenovo
129 ##########################################
130
131 # Lenovo Optical USB Mouse
132 mouse:usb:v17efp6019:name:Lenovo Optical USB Mouse:
133  MOUSE_DPI=1000@125
134
135 # ThinkPad USB Laser Mouse
136 mouse:usb:v17efp6044:name:ThinkPad USB Laser Mouse:
137  MOUSE_DPI=1200@125
138
139 ##########################################
140 # Logitech
141 ##########################################
142
143 # Note: devices using the Logitech Unifying receiver will need two entries,
144 # one for pre 3.19 with the wireless PID in the name, one for 3.19 with the
145 # model name. The usb vid/pid is the same for all those devices.
146 # Until 3.19 is available, this list just has the Wireless PID entry.
147
148 # Logitech M-BJ58 Optical Mouse
149 mouse:usb:v046dpc00e:name:Logitech USB-PS/2 Optical Mouse:
150 # Logitech MX310 Optical Mouse
151 mouse:usb:v046dpc01b:name:Logitech USB-PS/2 Optical Mouse:
152 # Logitech USB-PS/2 M-BT58
153 mouse:usb:v046dpc03e:name:Logitech USB-PS/2 Optical Mouse:
154  MOUSE_DPI=400@125
155
156 # Lenovo USB mouse model MO28UOL
157 mouse:usb:v04b3p310c:name:USB Optical Mouse:
158  MOUSE_DPI=400@142
159
160 # Logitech USB-PS/2 M-BZ96C
161 mouse:usb:v046dpc045:name:Logitech USB-PS/2 Optical Mouse:
162  MOUSE_DPI=600@125
163
164 # Logitech Wireless Mouse M325
165 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:400a:
166  MOUSE_DPI=600@166
167  MOUSE_WHEEL_CLICK_ANGLE=20
168
169 # Logitech MX1000 Laser Cordless Mouse
170 mouse:usb:v046dpc50e:name:Logitech USB RECEIVER:
171 # Logitech Cordless Click! Plus
172 mouse:usb:v046dpc50e:name:Logitech USB Receiver:
173 # Logitech, Inc. RX 300 Optical Mouse
174 mouse:usb:v046dpc040:name:Logitech USB-PS/2 Optical Mouse:
175  MOUSE_DPI=800@125
176
177 # Logitech MX 518
178 mouse:usb:v046dpc01e:name:Logitech USB-PS/2 Optical Mouse:
179  MOUSE_DPI=400@125 *800@125 1600@125
180
181 # Logitech, Inc. RX 250 Optical Mouse
182 mouse:usb:v046dpc050:name:Logitech USB-PS/2 Optical Mouse:
183  MOUSE_DPI=800@142
184
185 # Logitech G400 (Wired)
186 mouse:usb:v046dpc245:name:Logitech Gaming Mouse G400:
187  MOUSE_DPI=400@1000 *800@1000 1800@1000 3600@1000
188
189 # Logitech G400s (Wired)
190 mouse:usb:v046dpc24c:name:Logitech G400s Optical Gaming Mouse:
191  MOUSE_DPI=400@1000 *800@1000 2000@1000 4000@1000
192
193 # Logitech Wireless Mouse M185
194 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:4008:
195 # Logitech M705 (marathon mouse)
196 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:101b:
197  MOUSE_DPI=800@166
198
199 # Logitech G500s Laser Gaming Mouse
200 mouse:usb:v046dpc24e:name:Logitech G500s Laser Gaming Mouse:
201  MOUSE_DPI=400@500 *800@500 2000@500
202
203 # Logitech B605 Wireless Mouse (also M505)
204 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:101d:
205  MOUSE_DPI=900@166
206
207 # Logitech RX1000 Laser Mouse
208 mouse:usb:v046dpc046:name:Logitech USB Optical Mouse:
209 # Logitech M100 Optical Mouse
210 mouse:usb:v046dpc05a:name:Logitech USB Optical Mouse:
211 # Logitech USB Laser Mouse M-U0011-O rebranded as "terra Laser"
212 mouse:usb:v046dpc065:name:Logitech USB Laser Mouse:
213  MOUSE_DPI=1000@125
214
215 # Logitech MK260 Wireless Combo Receiver aka M-R0011
216 mouse:usb:v046dpc52e:name:Logitech USB Receiver:
217  MOUSE_DPI=1000@200
218
219 # Logitech G700 Laser Mouse (Wired)
220 mouse:usb:v046dpc06b:name:Logitech G700 Laser Mouse:
221 # Logitech G700 Laser Mouse (Wireless)
222 mouse:usb:v046dpc531:name:Logitech USB Receiver:
223  MOUSE_DPI=*1000@500 3800@500 500@1000 1500@1000 2000@1000
224
225 # Logitech USB Laser Mouse M-UAS144 [LS1 Laser Mouse]
226 mouse:usb:v046dpc062:name:Logitech USB Laser Mouse:
227 # Logitech USB Laser Mouse M-U0007
228 mouse:usb:v046dpc069:name:Logitech USB Laser Mouse:
229  MOUSE_DPI=1200@125
230
231 # Logitech T620 (or, the soap)
232 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:4027:
233  MOUSE_DPI=1200@250
234
235 # Logitech ZoneTouch Mouse T400
236 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:4026:
237  MOUSE_DPI=1300@166
238
239 # Logitech Ultrathin Touch Mouse
240 mouse:bluetooth:v046dpb00d:name:Ultrathin Touch Mouse:
241  MOUSE_DPI=1000@1000
242
243 # ImExPS/2 Logitech Wheel Mouse
244 mouse:ps2:*:name:ImExPS/2 Logitech Wheel Mouse:
245  MOUSE_DPI=400@250
246
247 ##########################################
248 # Microsoft
249 ##########################################
250
251 # Note: unsure that these work, it's likely that all devices on these
252 # receivers show up with the same vid/pid/name
253
254 # Microsoft Sculpt Ergonomic Mouse
255 mouse:usb:v045ep07a5:name:Microsoft Microsoft® 2.4GHz Transceiver v9.0:
256  MOUSE_DPI=1000@142
257
258 # Microsoft Arc Touch Mouse USB
259 mouse:usb:v045ep07b1:name:Microsoft Microsoft® Nano Transceiver v1.0:
260  MOUSE_DPI=1400@142
261
262 # Microsoft  Wireless Laser Mouse 8000
263 mouse:bluetooth:v045ep0702:name:Microsoft  Wireless Laser Mouse 8000:
264  MOUSE_DPI=1000@1000
265
266 ##########################################
267 # Oklick
268 ##########################################
269
270 # Oklick 406S Bluetooth Laser Mouse
271 mouse:bluetooth:v056ep0061:name:Laser  BTmouse:
272  MOUSE_DPI=*800@333 1600@333
273
274 ##########################################
275 # Razer
276 ##########################################
277
278 # Razer Abyssus
279 mouse:usb:v1532p0042:name:Razer Razer Abyssus:
280  MOUSE_DPI=3500@1000