1 # This file is part of systemd.
3 # Database for the DPI setting of mice, trackballs, other pointer devices that
4 # cannot be queried directly.
6 # The lookup keys are composed in:
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.
14 # Match string format:
15 # mouse:<subsystem>:v<vid>p<pid>:name:<name>:
17 # Supported subsystems: usb, bluetooth
18 # vid/pid as 4-digit hex lowercase vendor/product
20 # if vid/pid is unavailable, use
21 # mouse:*:name:<name>:
22 # if name is unavailable, use
23 # mouse:<subsystem>:v<vid>p<pid>:*
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:
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):
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.
39 # If your changes are generally applicable, preferably send them as a pull
41 # https://github.com/systemd/systemd
42 # or create a bug report on https://github.com/systemd/systemd/issues and
43 # include your new rules, a description of the device, and the output of
44 # udevadm info /dev/input/eventXX.
46 # Allowed properties are:
49 # MOUSE_WHEEL_CLICK_ANGLE
50 # MOUSE_WHEEL_CLICK_ANGLE_HORIZONTAL
51 # MOUSE_WHEEL_CLICK_COUNT
52 # MOUSE_WHEEL_CLICK_COUNT_HORIZONTAL
53 # MOUSE_WHEEL_TILT_HORIZONTAL
54 # MOUSE_WHEEL_TILT_VERTICAL
56 #########################################
57 # ID_INPUT_TRACKBALL #
58 #########################################
60 # Specified *in additition* to ID_INPUT_MOUSE if the device is a trackball.
61 # Removing ID_INPUT_MOUSE will break backwards compatibility.
63 #########################################
65 #########################################
67 # DPI settings are specified as
68 # MOUSE_DPI=<dpi>[@<frequency>]
70 # Where <dpi> is the resolution in dots per inch, and <frequency> the
71 # sampling frequency in Hz (optional). If a device supports dynamic
72 # frequency scaling, the maximum frequency should be used. For devices
73 # supporting multiple fixed frequencies, see below.
75 # The value of MOUSE_DPI is:
76 # - a single integer for single-resolution mice, e.g.
78 # or, if the frequency is known:
80 # - a space-separated list of resolutions for multi-resolution mice.
81 # The default resolution must be prefixed by an asterisk, the resolutions
82 # in the database must be as shipped by the manufacturer. e.g.
83 # MOUSE_DPI=400 *800 2000
85 # The order of resolutions is as configured by the HW manufacturer or in
86 # ascending order, whichever appropriate.
88 # The frequency must be given to either none or all resolutions. If the
89 # device supports multiple fixed frequencies, the order of items is
90 # MOUSE_DPI=r1@f1 r2@f1 r3@f1 r1@f2 r2@f2 r3@f2
92 # If the default manufacturer-set resolution is unclear, a resolution of
93 # 800 or 1000 should be set as default, if available. If neither is
94 # available, choose the "middle" resolution value of those available.
96 # The list may contain a single item which must be marked with an
99 # Local changes to the a non-default resolution of the mouse (e.g. through
100 # third-party software) must not be entered into this file, use a local
103 #########################################
104 # MOUSE_WHEEL_CLICK_ANGLE #
105 #########################################
107 # The angle in degrees per mouse wheel 'click', specified as
108 # MOUSE_WHEEL_CLICK_ANGLE=<degrees>
110 # Most mice have a 15 degree click stop (24 clicks per full rotation).
111 # For backwards-compatibility, the click angle must be an integer.
112 # Where a device has non-integer click angles, the MOUSE_WHEEL_CLICK_COUNT
113 # property should also be specified.
115 #########################################
116 # MOUSE_WHEEL_CLICK_ANGLE_HORIZONTAL #
117 #########################################
119 # Identical to MOUSE_WHEEL_CLICK_ANGLE but for the horizontal scroll wheel.
120 # This property may only be specified if the angle for the horizontal
121 # scroll wheel differs from the vertical wheel. If so, *both* click angles
124 #########################################
125 # MOUSE_WHEEL_CLICK_COUNT #
126 # MOUSE_WHEEL_CLICK_COUNT_HORIZONTAL #
127 #########################################
129 # The number of clicks the wheel sends per 360 degree rotation. This
130 # property should only be used where the click angle is not an integer.
131 # For backwards compatibility it must be specified in addition to
132 # MOUSE_WHEEL_CLICK_ANGLE.
133 # Clients should prefer MOUSE_WHEEL_CLICK_COUNT where available, it is more
134 # precise than MOUSE_WHEEL_CLICK_ANGLE.
136 # MOUSE_WHEEL_CLICK_COUNT_HORIZONTAL works the same way but also follows the
137 # rules of MOUSE_WHEEL_CLICK_ANGLE_HORIZONTAL.
139 #########################################
140 # MOUSE_WHEEL_TILT_HORIZONTAL #
141 # MOUSE_WHEEL_TILT_VERTICAL #
142 #########################################
144 # Indicates that the respective axis is not a mouse wheel rotation but a
145 # tilt along that axis. Wheel tilt is most commonly used for horizontal
146 # scroll wheel emulation on mice with only a single vertical wheel.
148 # The vertical and horizontal Axes are independently marked as tilt axes,
149 # for example it is permitted to have a MOUSE_WHEEL_CLICK_COUNT or
150 # MOUSE_WHEEL_CLICK_ANGLE for the vertical axis and mark the horizontal axis
151 # marked as as MOUSE_WHEEL_TILT_HORIZONTAL.
153 # It is a bug to have either CLICK_COUNT or CLICK_ANGLE set on the same axis
154 # as WHEEL_TILT. Applications should give priority to WHEEL_TILT and ignore
157 # This is a flag only, permitted values: 0 or 1
160 # Sort by brand, type (usb, bluetooth), DPI, frequency.
161 # For mice with switchable resolution, sort by the starred entry.
163 ##########################################
165 ##########################################
166 mouse:*:name:*Trackball*:
167 mouse:*:name:*trackball*:
168 mouse:*:name:*TrackBall*:
171 ##########################################
173 ##########################################
176 # Note: this device changes name once connected to a mac, the name ends up
177 # as $username`s mouse
178 mouse:bluetooth:v05acp030d:name:*:
181 ##########################################
183 ##########################################
185 # Chicony 2.4G Multimedia Wireless Kit MG-0919
186 mouse:usb:v04f2p0963:name:Chicony 2.4G Multimedia Wireless Kit:
189 ##########################################
191 ##########################################
194 mouse:usb:v413cp3012:name:Dell Dell USB Optical Mouse:
197 # Dell USB Laser Mouse
198 mouse:usb:v046dpc063:name:DELL DELL USB Laser Mouse:
202 mouse:usb:v413cp301a:name:PixArt Dell MS116 USB Optical Mouse:
205 ##########################################
207 #########################################
209 # Dynex Wired Optical Mouse (DX-WMSE2)
210 mouse:usb:v0461p4d46:name:USB Optical Mouse:
213 ##########################################
215 ##########################################
217 mouse:usb:v0461p4d16:name:USB Optical Mouse:
220 ##########################################
221 # Future Technology Devices International
222 ##########################################
224 # SNES Mouse plugged into a Retrode 2
225 mouse:usb:v0403p97c1:name:Retrode SNES Mouse:
228 ##########################################
230 ##########################################
232 # FM-901 Wireless Mouse
233 mouse:usb:v1ea7p000b:name:2.4G RF Mouse:
234 MOUSE_DPI=*800@125 1600@125
237 mouse:usb:v04d9p0499:name:*
240 ##########################################
242 ##########################################
245 mouse:usb:v192fp0916:name:USB Optical Mouse:
248 ##########################################
250 ##########################################
252 # Hoverstop active ergonomic mouse
253 mouse:usb:v088dp1234:name:HoverStop NL Hoverstop active ergonomic mouse:
256 ##########################################
258 ##########################################
260 # HP USB 1000dpi Laser Mouse
261 mouse:usb:v0458p0133:name:Mouse Laser Mouse:
263 MOUSE_WHEEL_CLICK_ANGLE=15
267 mouse:usb:v093ap2510:name:PixArt USB Optical Mouse:
268 mouse:usb:v093ap2510:name:PIXART USB OPTICAL MOUSE:
271 # HP X1200 Optical Mouse
272 mouse:usb:v03f0p0641:name:PixArt HP X1200 USB Optical Mouse:
275 ##########################################
277 ##########################################
279 # IBM USB Travel Mouse (MO32BO)
280 mouse:usb:v04b3p3107:name:*
283 ##########################################
285 ##########################################
287 # Lenovo Optical USB Mouse
288 mouse:usb:v17efp6019:name:Lenovo Optical USB Mouse:
292 mouse:usb:v17efp6019:name:Logitech Lenovo USB Optical Mouse:
295 # ThinkPad USB Laser Mouse
296 mouse:usb:v17efp6044:name:ThinkPad USB Laser Mouse:
299 # Lenovo Precision USB Mouse
300 mouse:usb:v17efp6050:name:Lenovo Precision USB Mouse:
304 mouse:usb:v17efp601d:name:Primax Lenovo Laser Mouse:
306 mouse:usb:v17efp6045:name:Lenovo USB Laser Mouse:
310 ##########################################
312 ##########################################
314 # Note: devices using the Logitech Unifying receiver will need two entries,
315 # one for pre 3.19 with the wireless PID in the name, one for 3.19 with the
316 # model name. The usb vid/pid is the same for all those devices.
317 # Until 3.19 is available, this list just has the Wireless PID entry.
319 # Logitech Anywhere MX
320 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:1017:
321 mouse:usb:v046dp1017:name:Logitech Anywhere MX:
322 MOUSE_WHEEL_CLICK_ANGLE=20
324 # Logitech M-BJ58 Optical Mouse
325 mouse:usb:v046dpc00e:name:Logitech USB-PS/2 Optical Mouse:
326 # Logitech Mini Optical Mouse
327 mouse:usb:v046dpc016:name:Logitech Optical USB Mouse:
328 # Logitech MX310 Optical Mouse
329 mouse:usb:v046dpc01b:name:Logitech USB-PS/2 Optical Mouse:
330 # Logitech USB-PS/2 M-BT58
331 mouse:usb:v046dpc03e:name:Logitech USB-PS/2 Optical Mouse:
332 # Logitech TrackMan Marble Wheel USB
333 mouse:usb:v046dpc401:name:Logitech USB-PS/2 Trackball:
336 # Logitech Cordless MouseMan Optical M-RM63
337 mouse:usb:v046dpc501:name:Logitech USB Receiver:
340 # Lenovo USB mouse model MO28UOL
341 mouse:usb:v04b3p310c:name:USB Optical Mouse:
344 # Logitech M570 trackball
345 mouse:usb:v046dp1028:name:Logitech M570:
349 # Logitech USB-PS/2 M-BZ96C
350 mouse:usb:v046dpc045:name:Logitech USB-PS/2 Optical Mouse:
353 # Logitech Wireless Mouse M325
354 mouse:usb:v046dp400a:name:Logitech M325:
355 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:400a:
357 MOUSE_WHEEL_CLICK_ANGLE=20
359 # Logitech MX400 Performance Laser Mouse
360 mouse:usb:v046dpc043:name:Logitech USB-PS/2 Optical Mouse:
361 # Logitech MX1000 Laser Cordless Mouse
362 mouse:usb:v046dpc50e:name:Logitech USB RECEIVER:
363 # Logitech Cordless Click! Plus
364 mouse:usb:v046dpc50e:name:Logitech USB Receiver:
365 # Logitech, Inc. RX 300 Optical Mouse
366 mouse:usb:v046dpc040:name:Logitech USB-PS/2 Optical Mouse:
370 mouse:usb:v046dpc01e:name:Logitech USB-PS/2 Optical Mouse:
371 MOUSE_DPI=400@125 *800@125 1600@125
373 # Logitech, Inc. RX 250 Optical Mouse
374 mouse:usb:v046dpc050:name:Logitech USB-PS/2 Optical Mouse:
377 # Logitech Wireless Mouse M185
378 mouse:usb:v046dp4008:name:Logitech M185:
379 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:4008:
380 # Logitech Wireless Mouse M510
381 mouse:usb:v046dp1025:name:Logitech M510:
382 # Logitech M705 (marathon mouse)
383 mouse:usb:v046dp101b:name:Logitech M705:
384 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:101b:
387 # Logitech MX Revolution
388 mouse:usb:v046dpc51a:name:Logitech USB Receiver:
391 # Logitech G5 Laser Mouse
392 mouse:usb:v046dpc049:name:Logitech USB Gaming Mouse:
393 # Logitech G500s Laser Gaming Mouse
394 mouse:usb:v046dpc24e:name:Logitech G500s Laser Gaming Mouse:
395 MOUSE_DPI=400@500 *800@500 2000@500
398 mouse:usb:v046dpc048:name:Logitech G9 Laser Mouse:
399 MOUSE_DPI=400@1000 800@1000 *1600@1000
401 # Logitech G9x [Call of Duty MW3 Edition]
402 mouse:usb:v046dpc249:name:Logitech G9x Laser Mouse:
403 MOUSE_DPI=400@1000 800@1000 *1600@1000 3200@1000
405 # Logitech G400 (Wired)
406 mouse:usb:v046dpc245:name:Logitech Gaming Mouse G400:
407 MOUSE_DPI=400@1000 *800@1000 1800@1000 3600@1000
409 # Logitech G400s (Wired)
410 mouse:usb:v046dpc24c:name:Logitech G400s Optical Gaming Mouse:
411 MOUSE_DPI=400@1000 *800@1000 2000@1000 4000@1000
413 # Logitech G402 Hyperion Fury
414 mouse:usb:v046dpc07e:name:Logitech Gaming Mouse G402:
415 MOUSE_DPI=400@1000 *800@1000 1600@1000 3200@1000
417 # Logitech G502 Proteus Spectrum
418 mouse:usb:v046dpc332:name:Logitech Gaming Mouse G502:
419 MOUSE_DPI=1200@1000 *2400@1000 3200@1000 6400@1000
421 # Logitech B605 Wireless Mouse (also M505)
422 mouse:usb:v046dp101d:name:Logitech B605:
423 mouse:usb:v046dp101d:name:Logitech M505:
424 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:101d:
427 # Logitech Cordless Desktop Wave Mouse
428 mouse:usb:v046dpc517:name:Logitech USB Receiver:
431 # Logitech RX1000 Laser Mouse
432 mouse:usb:v046dpc046:name:Logitech USB Optical Mouse:
433 # Logitech M100 Optical Mouse
434 mouse:usb:v046dpc05a:name:Logitech USB Optical Mouse:
435 # Logitech USB Laser Mouse M-U0011-O rebranded as "terra Laser"
436 mouse:usb:v046dpc065:name:Logitech USB Laser Mouse:
437 # Logitech USB Laser Mouse M-U0007 [M500]
438 mouse:usb:v046dpc069:name:Logitech USB Laser Mouse:
439 # Logitech V500 Cordless Notebook Mouse
440 mouse:usb:v046dpc510:name:Logitech USB Receiver:
441 # Logitech M560 Wireless Mouse
442 mouse:usb:v046dp402d:name:Logitech M560:
443 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:402d:
446 # Logitech M305 Wireless Optical Mouse
447 mouse:usb:v046dpc52f:name:Logitech USB Receiver:
450 # Logitech Performance MX
451 mouse:usb:v046dp101a:name:Logitech Performance MX:
455 # Horiz wheel has 14 stops, angle is rounded up
456 mouse:usb:v046dp4041:name:Logitech MX Master:
458 MOUSE_WHEEL_CLICK_ANGLE=15
459 MOUSE_WHEEL_CLICK_ANGLE_HORIZONTAL=26
460 MOUSE_WHEEL_CLICK_COUNT=24
461 MOUSE_WHEEL_CLICK_COUNT_HORIZONTAL=14
463 # Logitech MX Master 2s
464 # Horiz wheel has 14 stops, angle is rounded up
465 mouse:usb:v046dp4069:name:Logitech MX Master 2s:
467 MOUSE_WHEEL_CLICK_ANGLE=15
468 MOUSE_WHEEL_CLICK_ANGLE_HORIZONTAL=26
469 MOUSE_WHEEL_CLICK_COUNT=24
470 MOUSE_WHEEL_CLICK_COUNT_HORIZONTAL=14
472 # Logitech MK260 Wireless Combo Receiver aka M-R0011
473 mouse:usb:v046dpc52e:name:Logitech USB Receiver:
476 # Logitech G100s Optical Gaming Mouse
477 mouse:usb:v046dpc247:name:Logitech G100s Optical Gaming Mouse:
478 MOUSE_DPI=*1000@500 1750@500 2500@500
480 # Logitech G700 Laser Mouse (Wired)
481 mouse:usb:v046dpc06b:name:Logitech G700 Laser Mouse:
482 # Logitech G700 Laser Mouse (Wireless)
483 mouse:usb:v046dpc531:name:Logitech USB Receiver:
484 MOUSE_DPI=*1000@500 3800@500 500@1000 1500@1000 2000@1000
486 # Logitech Wireless Mouse M310
487 mouse:usb:v046dp1024:name:Logitech M310:
490 # Logitech USB Laser Mouse M-UAS144 [LS1 Laser Mouse]
491 mouse:usb:v046dpc062:name:Logitech USB Laser Mouse:
494 # Logitech T620 (or, the soap)
495 mouse:usb:v046dp4027:name:Logitech T620:
496 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:4027:
499 # Logitech ZoneTouch Mouse T400
500 mouse:usb:v046dp4026:name:Logitech T400:
501 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:4026:
504 # Logitech G500 Mouse
505 mouse:usb:v046dpc068:name:Logitech G500:
506 MOUSE_DPI=*1600@500 2600@500 3600@500
508 # Logitech TrackMan Wheel (USB)
509 mouse:usb:v046dpc404:name:Logitech Trackball:
512 # Logitech MX1000 Laser Cordless Mouse
513 mouse:bluetooth:v046dpb003:name:Logitech MX1000 mouse:
516 # Logitech Ultrathin Touch Mouse
517 mouse:bluetooth:v046dpb00d:name:Ultrathin Touch Mouse:
520 # ImPS/2 Logitech Wheel Mouse
521 mouse:ps2:*:name:ImPS/2 Logitech Wheel Mouse:
524 # ImExPS/2 Logitech Wheel Mouse
525 mouse:ps2:*:name:ImExPS/2 Logitech Wheel Mouse:
528 ##########################################
530 ##########################################
532 mouse:usb:v045ep0040:name:Microsoft Microsoft 3-Button Mouse with IntelliEye(TM):
535 # Note: unsure that these work, it's likely that all devices on these
536 # receivers show up with the same vid/pid/name
538 # Microsoft Wireless Mouse 5000
539 mouse:usb:v045ep0745:name:Microsoft Microsoft® 2.4GHz Transceiver v6.0:
542 # Microsoft Comfort Mouse 4500
543 mouse:usb:v045ep076c:name:Microsoft Microsoft® Comfort Mouse 4500:
546 # Microsoft Wireless Mobile Mouse 4000
547 mouse:usb:v045ep0745:name:Microsoft Microsoft® Nano Transceiver v2.0:
548 # Microsoft Sculpt Ergonomic Mouse
549 mouse:usb:v045ep07a5:name:Microsoft Microsoft® 2.4GHz Transceiver v9.0:
552 # Microsoft Arc Touch Mouse USB
553 mouse:usb:v045ep07b1:name:Microsoft Microsoft® Nano Transceiver v1.0:
556 # Microsoft Wireless Laser Mouse 8000
557 mouse:bluetooth:v045ep0702:name:Microsoft Wireless Laser Mouse 8000:
560 # Microsoft Sculpt Comfort Mouse
561 mouse:bluetooth:v045ep07a2:name:Microsoft Sculpt Comfort Mouse:
564 # Microsoft Arc Touch Mouse SE:
565 mouse:bluetooth:v045ep07f3:name:Arc Touch Mouse SE:
568 # Microsoft Surface Mouse
569 mouse:bluetooth:v0000p0000:name:Surface Mouse:
572 ##########################################
574 ##########################################
577 mouse:usb:v22d4p1308:name:Laview Technology Mionix Avior 7000:
578 MOUSE_DPI=400@1000 *1600@1000 7000@1000
579 MOUSE_WHEEL_CLICK_ANGLE=15
581 ##########################################
583 ##########################################
585 # MODECOM MC-WM4 Wireless Optical Mouse
586 mouse:usb:v0e8fp00a7:name:DaKai 2.4G RX:
587 MOUSE_DPI=*800@126 1600@126
589 ##########################################
591 ##########################################
593 # Oklick 406S Bluetooth Laser Mouse
594 mouse:bluetooth:v056ep0061:name:Laser BTmouse:
595 MOUSE_DPI=*800@333 1600@333
597 ##########################################
599 ##########################################
601 # P-Active Wireless Mouse PA-27K2
602 mouse:usb:v0425p0101:name:G-Tech CHINA USB Wireless Mouse & KeyBoard V1.01 :
605 ##########################################
607 ##########################################
610 mouse:usb:v1532p0042:name:Razer Razer Abyssus:
613 # Razer DeathAdder Black Edition
614 mouse:usb:v1532p0029:name:Razer Razer DeathAdder:
617 ##########################################
619 ##########################################
621 # Roccat Lua (ROC-11-310)
622 mouse:usb:v1e7dp2c2e:name:ROCCAT ROCCAT Lua:
623 MOUSE_DPI=250@125 500@125 1000@125 1250@125 1500@125 1750@125 2000@125 250@250 500@250 1000@250 1250@250 1500@250 1750@250 2000@250 250@500 500@500 1000@500 1250@500 1500@500 1750@500 2000@500 250@1000 500@1000 *1000@1000 1250@1000 1500@1000 1750@1000 2000@1000
624 MOUSE_WHEEL_CLICK_ANGLE=15
626 ##########################################
628 ##########################################
630 # Sharkoon Shark Force Gaming Mouse
631 mouse:usb:v093ap2521:name:USB OPTICAL MOUSE:
632 MOUSE_DPI=*1000@125 1600@125 600@125
634 ##########################################
636 ##########################################
638 # SteelSeries Sensei Raw
639 mouse:usb:v1038p1369:name:SteelSeries Sensei Raw Gaming Mouse:
642 ##########################################
644 ##########################################
646 # Trust illuminated mouse gxt 152
647 mouse:usb:v145fp01ac:name:HID-compliant Mouse Trust Gaming Mouse:
648 MOUSE_DPI=*800@528 1200@537 1600@536 2400@521
650 ##########################################
652 ##########################################
654 # Zelotes 5500 DPI 7 Button USB Wired Gaming Mouse
655 mouse:usb:v1d57pad17:*
656 MOUSE_DPI=1000@500 1600@500 2400@500 3200@500 5500@500 *1000@1000 1600@1000 2400@1000 3200@1000 5500@1000