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 # Kensington Expert Mouse trackball
288 mouse:usb:v047dp1020:*Kensington Expert Mouse*
291 ##########################################
293 ##########################################
295 # Lenovo Optical USB Mouse
296 mouse:usb:v17efp6019:name:Lenovo Optical USB Mouse:
300 mouse:usb:v17efp6019:name:Logitech Lenovo USB Optical Mouse:
303 # ThinkPad USB Laser Mouse
304 mouse:usb:v17efp6044:name:ThinkPad USB Laser Mouse:
307 # Lenovo Precision USB Mouse
308 mouse:usb:v17efp6050:name:Lenovo Precision USB Mouse:
312 mouse:usb:v17efp601d:name:Primax Lenovo Laser Mouse:
314 mouse:usb:v17efp6045:name:Lenovo USB Laser Mouse:
318 ##########################################
320 ##########################################
322 # Note: devices using the Logitech Unifying receiver will need two entries,
323 # one for pre 3.19 with the wireless PID in the name, one for 3.19 with the
324 # model name. The usb vid/pid is the same for all those devices.
325 # Until 3.19 is available, this list just has the Wireless PID entry.
327 # Logitech Anywhere MX
328 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:1017:
329 mouse:usb:v046dp1017:name:Logitech Anywhere MX:
330 MOUSE_WHEEL_CLICK_ANGLE=20
332 # Logitech M-BJ58 Optical Mouse
333 mouse:usb:v046dpc00e:name:Logitech USB-PS/2 Optical Mouse:
334 # Logitech Mini Optical Mouse
335 mouse:usb:v046dpc016:name:Logitech Optical USB Mouse:
336 # Logitech MX310 Optical Mouse
337 mouse:usb:v046dpc01b:name:Logitech USB-PS/2 Optical Mouse:
338 # Logitech USB-PS/2 M-BT58
339 mouse:usb:v046dpc03e:name:Logitech USB-PS/2 Optical Mouse:
340 # Logitech TrackMan Marble Wheel USB
341 mouse:usb:v046dpc401:name:Logitech USB-PS/2 Trackball:
344 # Logitech Cordless MouseMan Optical M-RM63
345 mouse:usb:v046dpc501:name:Logitech USB Receiver:
348 # Lenovo USB mouse model MO28UOL
349 mouse:usb:v04b3p310c:name:USB Optical Mouse:
352 # Logitech M570 trackball
353 mouse:usb:v046dp1028:name:Logitech M570:
357 # Logitech USB-PS/2 M-BZ96C
358 mouse:usb:v046dpc045:name:Logitech USB-PS/2 Optical Mouse:
361 # Logitech Wireless Mouse M325
362 mouse:usb:v046dp400a:name:Logitech M325:
363 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:400a:
365 MOUSE_WHEEL_CLICK_ANGLE=20
367 # Logitech MX400 Performance Laser Mouse
368 mouse:usb:v046dpc043:name:Logitech USB-PS/2 Optical Mouse:
369 # Logitech MX1000 Laser Cordless Mouse
370 mouse:usb:v046dpc50e:name:Logitech USB RECEIVER:
371 # Logitech Cordless Click! Plus
372 mouse:usb:v046dpc50e:name:Logitech USB Receiver:
373 # Logitech, Inc. RX 300 Optical Mouse
374 mouse:usb:v046dpc040:name:Logitech USB-PS/2 Optical Mouse:
378 mouse:usb:v046dpc01e:name:Logitech USB-PS/2 Optical Mouse:
379 MOUSE_DPI=400@125 *800@125 1600@125
381 # Logitech, Inc. RX 250 Optical Mouse
382 mouse:usb:v046dpc050:name:Logitech USB-PS/2 Optical Mouse:
385 # Logitech Wireless Mouse M185
386 mouse:usb:v046dp4008:name:Logitech M185:
387 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:4008:
388 # Logitech Wireless Mouse M510
389 mouse:usb:v046dp1025:name:Logitech M510:
390 # Logitech M705 (marathon mouse)
391 mouse:usb:v046dp101b:name:Logitech M705:
392 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:101b:
395 # Logitech MX Revolution
396 mouse:usb:v046dpc51a:name:Logitech USB Receiver:
399 # Logitech G5 Laser Mouse
400 mouse:usb:v046dpc049:name:Logitech USB Gaming Mouse:
401 # Logitech G500s Laser Gaming Mouse
402 mouse:usb:v046dpc24e:name:Logitech G500s Laser Gaming Mouse:
403 MOUSE_DPI=400@500 *800@500 2000@500
406 mouse:usb:v046dpc048:name:Logitech G9 Laser Mouse:
407 MOUSE_DPI=400@1000 800@1000 *1600@1000
409 # Logitech G9x [Call of Duty MW3 Edition]
410 mouse:usb:v046dpc249:name:Logitech G9x Laser Mouse:
411 MOUSE_DPI=400@1000 800@1000 *1600@1000 3200@1000
413 # Logitech G400 (Wired)
414 mouse:usb:v046dpc245:name:Logitech Gaming Mouse G400:
415 MOUSE_DPI=400@1000 *800@1000 1800@1000 3600@1000
417 # Logitech G400s (Wired)
418 mouse:usb:v046dpc24c:name:Logitech G400s Optical Gaming Mouse:
419 MOUSE_DPI=400@1000 *800@1000 2000@1000 4000@1000
421 # Logitech G402 Hyperion Fury
422 mouse:usb:v046dpc07e:name:Logitech Gaming Mouse G402:
423 MOUSE_DPI=400@1000 *800@1000 1600@1000 3200@1000
425 # Logitech G502 Proteus Spectrum
426 mouse:usb:v046dpc332:name:Logitech Gaming Mouse G502:
427 MOUSE_DPI=1200@1000 *2400@1000 3200@1000 6400@1000
429 # Logitech B605 Wireless Mouse (also M505)
430 mouse:usb:v046dp101d:name:Logitech B605:
431 mouse:usb:v046dp101d:name:Logitech M505:
432 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:101d:
435 # Logitech Cordless Desktop Wave Mouse
436 mouse:usb:v046dpc517:name:Logitech USB Receiver:
439 # Logitech RX1000 Laser Mouse
440 mouse:usb:v046dpc046:name:Logitech USB Optical Mouse:
441 # Logitech M100 Optical Mouse
442 mouse:usb:v046dpc05a:name:Logitech USB Optical Mouse:
443 # Logitech USB Laser Mouse M-U0011-O rebranded as "terra Laser"
444 mouse:usb:v046dpc065:name:Logitech USB Laser Mouse:
445 # Logitech USB Laser Mouse M-U0007 [M500]
446 mouse:usb:v046dpc069:name:Logitech USB Laser Mouse:
447 # Logitech V500 Cordless Notebook Mouse
448 mouse:usb:v046dpc510:name:Logitech USB Receiver:
449 # Logitech M560 Wireless Mouse
450 mouse:usb:v046dp402d:name:Logitech M560:
451 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:402d:
454 # Logitech M305 Wireless Optical Mouse
455 mouse:usb:v046dpc52f:name:Logitech USB Receiver:
458 # Logitech Performance MX
459 mouse:usb:v046dp101a:name:Logitech Performance MX:
463 # Horiz wheel has 14 stops, angle is rounded up
464 mouse:usb:v046dp4041:name:Logitech MX Master:
466 MOUSE_WHEEL_CLICK_ANGLE=15
467 MOUSE_WHEEL_CLICK_ANGLE_HORIZONTAL=26
468 MOUSE_WHEEL_CLICK_COUNT=24
469 MOUSE_WHEEL_CLICK_COUNT_HORIZONTAL=14
471 # Logitech MX Master 2s
472 # Horiz wheel has 14 stops, angle is rounded up
473 mouse:usb:v046dp4069:name:Logitech MX Master 2s:
475 MOUSE_WHEEL_CLICK_ANGLE=15
476 MOUSE_WHEEL_CLICK_ANGLE_HORIZONTAL=26
477 MOUSE_WHEEL_CLICK_COUNT=24
478 MOUSE_WHEEL_CLICK_COUNT_HORIZONTAL=14
480 # Logitech MK260 Wireless Combo Receiver aka M-R0011
481 mouse:usb:v046dpc52e:name:Logitech USB Receiver:
484 # Logitech G100s Optical Gaming Mouse
485 mouse:usb:v046dpc247:name:Logitech G100s Optical Gaming Mouse:
486 MOUSE_DPI=*1000@500 1750@500 2500@500
488 # Logitech G700 Laser Mouse (Wired)
489 mouse:usb:v046dpc06b:name:Logitech G700 Laser Mouse:
490 # Logitech G700 Laser Mouse (Wireless)
491 mouse:usb:v046dpc531:name:Logitech USB Receiver:
492 MOUSE_DPI=*1000@500 3800@500 500@1000 1500@1000 2000@1000
494 # Logitech G703 (Wired)
495 mouse:usb:v046dpc087:name:Logitech G703 Wired/Wireless Gaming Mouse:
496 # Logitech G703 (Wireless)
497 mouse:usb:v046dpc539:name:Logitech USB Receiver Mouse:
498 MOUSE_DPI=400@1000 800@1000 *1600@1000 3200@1000
500 # Logitech Wireless Mouse M310
501 mouse:usb:v046dp1024:name:Logitech M310:
504 # Logitech USB Laser Mouse M-UAS144 [LS1 Laser Mouse]
505 mouse:usb:v046dpc062:name:Logitech USB Laser Mouse:
508 # Logitech T620 (or, the soap)
509 mouse:usb:v046dp4027:name:Logitech T620:
510 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:4027:
513 # Logitech ZoneTouch Mouse T400
514 mouse:usb:v046dp4026:name:Logitech T400:
515 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:4026:
518 # Logitech G500 Mouse
519 mouse:usb:v046dpc068:name:Logitech G500:
520 MOUSE_DPI=*1600@500 2600@500 3600@500
522 # Logitech TrackMan Wheel (USB)
523 mouse:usb:v046dpc404:name:Logitech Trackball:
526 # Logitech MX1000 Laser Cordless Mouse
527 mouse:bluetooth:v046dpb003:name:Logitech MX1000 mouse:
530 # Logitech Ultrathin Touch Mouse
531 mouse:bluetooth:v046dpb00d:name:Ultrathin Touch Mouse:
534 # ImPS/2 Logitech Wheel Mouse
535 mouse:ps2:*:name:ImPS/2 Logitech Wheel Mouse:
538 # ImExPS/2 Logitech Wheel Mouse
539 mouse:ps2:*:name:ImExPS/2 Logitech Wheel Mouse:
542 ##########################################
544 ##########################################
546 mouse:usb:v045ep0040:name:Microsoft Microsoft 3-Button Mouse with IntelliEye(TM):
549 # Note: unsure that these work, it's likely that all devices on these
550 # receivers show up with the same vid/pid/name
552 # Microsoft Wireless Mouse 5000
553 mouse:usb:v045ep0745:name:Microsoft Microsoft® 2.4GHz Transceiver v6.0:
556 # Microsoft Comfort Mouse 4500
557 mouse:usb:v045ep076c:name:Microsoft Microsoft® Comfort Mouse 4500:
560 # Microsoft Wireless Mobile Mouse 4000
561 mouse:usb:v045ep0745:name:Microsoft Microsoft® Nano Transceiver v2.0:
562 # Microsoft Sculpt Ergonomic Mouse
563 mouse:usb:v045ep07a5:name:Microsoft Microsoft® 2.4GHz Transceiver v9.0:
566 # Microsoft Arc Touch Mouse USB
567 mouse:usb:v045ep07b1:name:Microsoft Microsoft® Nano Transceiver v1.0:
570 # Microsoft Wireless Laser Mouse 8000
571 mouse:bluetooth:v045ep0702:name:Microsoft Wireless Laser Mouse 8000:
574 # Microsoft Sculpt Comfort Mouse
575 mouse:bluetooth:v045ep07a2:name:Microsoft Sculpt Comfort Mouse:
578 # Microsoft Arc Touch Mouse SE:
579 mouse:bluetooth:v045ep07f3:name:Arc Touch Mouse SE:
582 # Microsoft Surface Mouse
583 mouse:bluetooth:v0000p0000:name:Surface Mouse:
586 ##########################################
588 ##########################################
591 mouse:usb:v22d4p1308:name:Laview Technology Mionix Avior 7000:
592 MOUSE_DPI=400@1000 *1600@1000 7000@1000
593 MOUSE_WHEEL_CLICK_ANGLE=15
595 ##########################################
597 ##########################################
599 # MODECOM MC-WM4 Wireless Optical Mouse
600 mouse:usb:v0e8fp00a7:name:DaKai 2.4G RX:
601 MOUSE_DPI=*800@126 1600@126
603 ##########################################
605 ##########################################
607 # Oklick 406S Bluetooth Laser Mouse
608 mouse:bluetooth:v056ep0061:name:Laser BTmouse:
609 MOUSE_DPI=*800@333 1600@333
611 ##########################################
613 ##########################################
615 # P-Active Wireless Mouse PA-27K2
616 mouse:usb:v0425p0101:name:G-Tech CHINA USB Wireless Mouse & KeyBoard V1.01 :
619 ##########################################
621 ##########################################
624 mouse:usb:v1532p0042:name:Razer Razer Abyssus:
627 # Razer DeathAdder Black Edition
628 mouse:usb:v1532p0029:name:Razer Razer DeathAdder:
631 ##########################################
633 ##########################################
635 # Roccat Lua (ROC-11-310)
636 mouse:usb:v1e7dp2c2e:name:ROCCAT ROCCAT Lua:
637 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
638 MOUSE_WHEEL_CLICK_ANGLE=15
640 ##########################################
642 ##########################################
644 # Sharkoon Shark Force Gaming Mouse
645 mouse:usb:v093ap2521:name:USB OPTICAL MOUSE:
646 MOUSE_DPI=*1000@125 1600@125 600@125
648 ##########################################
650 ##########################################
652 # SteelSeries Sensei Raw
653 mouse:usb:v1038p1369:name:SteelSeries Sensei Raw Gaming Mouse:
656 ##########################################
658 ##########################################
660 # Trust illuminated mouse gxt 152
661 mouse:usb:v145fp01ac:name:HID-compliant Mouse Trust Gaming Mouse:
662 MOUSE_DPI=*800@528 1200@537 1600@536 2400@521
664 ##########################################
666 ##########################################
668 # Zelotes 5500 DPI 7 Button USB Wired Gaming Mouse
669 mouse:usb:v1d57pad17:*
670 MOUSE_DPI=1000@500 1600@500 2400@500 3200@500 5500@500 *1000@1000 1600@1000 2400@1000 3200@1000 5500@1000