]>
Commit | Line | Data |
---|---|---|
0213a26f PH |
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. | |
8c67d0a7 | 43 | # The default resolution must be prefixed by an asterisk, the resolutions |
0213a26f PH |
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 | ||
7731320a ZJS |
80 | # |
81 | # Sort by by brand, type (usb, bluetooth), DPI, frequency. | |
82 | # For mice with switchable resolution, sort by the starred entry. | |
83 | ||
eb59c75e PH |
84 | ########################################## |
85 | # Dell | |
86 | ########################################## | |
87 | ||
88 | # Dell USB Laser Mouse | |
89 | mouse:usb:v046dpc063:name:DELL DELL USB Laser Mouse: | |
90 | MOUSE_DPI=1000@125 | |
91 | ||
0213a26f PH |
92 | ########################################## |
93 | # Lenovo | |
94 | ########################################## | |
95 | ||
eb59c75e | 96 | # Lenovo Optical USB Mouse |
0213a26f PH |
97 | mouse:usb:v17efp6019:name:Lenovo Optical USB Mouse: |
98 | MOUSE_DPI=1000@125 | |
99 | ||
40dba702 LP |
100 | # ThinkPad USB Laser Mouse |
101 | mouse:usb:v17efp6044:name:ThinkPad USB Laser Mouse: | |
102 | MOUSE_DPI=1200@125 | |
103 | ||
0213a26f PH |
104 | ########################################## |
105 | # Logitech | |
106 | ########################################## | |
107 | ||
eb59c75e PH |
108 | # Note: devices using the Logitech Unifying receiver will need two entries, |
109 | # one for pre 3.19 with the wireless PID in the name, one for 3.19 with the | |
110 | # model name. The usb vid/pid is the same for all those devices. | |
111 | # Until 3.19 is available, this list just has the Wireless PID entry. | |
112 | ||
e31fc141 ZJS |
113 | # Logitech M-BJ58 Optical Mouse |
114 | mouse:usb:v046dpc00e:name:Logitech USB-PS/2 Optical Mouse: | |
115 | # Logitech MX310 Optical Mouse | |
116 | mouse:usb:v046dpc01b:name:Logitech USB-PS/2 Optical Mouse: | |
7731320a ZJS |
117 | # Logitech USB-PS/2 M-BT58 |
118 | mouse:usb:v046dpc03e:name:Logitech USB-PS/2 Optical Mouse: | |
119 | MOUSE_DPI=400@125 | |
120 | ||
c470b44f FT |
121 | # Lenovo USB mouse model MO28UOL |
122 | mouse:usb:v04b3p310c:name:USB Optical Mouse: | |
123 | MOUSE_DPI=400@142 | |
124 | ||
7731320a ZJS |
125 | # Logitech USB-PS/2 M-BZ96C |
126 | mouse:usb:v046dpc045:name:Logitech USB-PS/2 Optical Mouse: | |
f08fa3be ZJS |
127 | # Logitech Optical USB Mouse |
128 | mouse:usb:v046dpc016:name:Logitech Optical USB Mouse: | |
7731320a ZJS |
129 | MOUSE_DPI=600@125 |
130 | ||
131 | # Logitech Wirless Mouse M325 | |
132 | mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:400a: | |
133 | MOUSE_DPI=600@166 | |
eb59c75e | 134 | |
6a057a99 PH |
135 | # Logitech MX1000 Laser Cordless Mouse |
136 | mouse:usb:v046dpc50e:name:Logitech USB RECEIVER: | |
eb59c75e PH |
137 | # Logitech Cordless Click! Plus |
138 | mouse:usb:v046dpc50e:name:Logitech USB Receiver: | |
17134776 TJ |
139 | # Logitech, Inc. RX 300 Optical Mouse |
140 | mouse:usb:v046dpc040:name:Logitech USB-PS/2 Optical Mouse: | |
90d37f7e EA |
141 | # Logitech, Inc. RX 250 Optical Mouse |
142 | mouse:usb:v046dpc050:name:Logitech USB-PS/2 Optical Mouse: | |
eb59c75e PH |
143 | MOUSE_DPI=800@125 |
144 | ||
de72f11b HH |
145 | # Logitech MX 518 |
146 | mouse:usb:v046dpc01e:name:Logitech USB-PS/2 Optical Mouse: | |
147 | MOUSE_DPI=400@125 *800@125 1600@125 | |
148 | ||
f9e35b2e DM |
149 | # Logitech G400s (Wired) |
150 | mouse:usb:v046dpc24c:name:Logitech G400s Optical Gaming Mouse: | |
151 | MOUSE_DPI=400@1000 *800@1000 2000@1000 4000@1000 | |
152 | ||
7731320a ZJS |
153 | # Logitech Wireless Mouse M185 |
154 | mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:4008: | |
155 | # Logitech M705 (marathon mouse) | |
156 | mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:101b: | |
157 | MOUSE_DPI=800@166 | |
158 | ||
eb59c75e | 159 | # Logitech G500s Laser Gaming Mouse |
0213a26f PH |
160 | mouse:usb:v046dpc24e:name:Logitech G500s Laser Gaming Mouse: |
161 | MOUSE_DPI=400@500 *800@500 2000@500 | |
eb59c75e | 162 | |
7731320a ZJS |
163 | # Logitech B605 Wireless Mouse (also M505) |
164 | mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:101d: | |
165 | MOUSE_DPI=900@166 | |
166 | ||
e31fc141 ZJS |
167 | # Logitech RX1000 Laser Mouse |
168 | mouse:usb:v046dpc046:name:Logitech USB Optical Mouse: | |
169 | # Logitech M100 Optical Mouse | |
7731320a ZJS |
170 | mouse:usb:v046dpc05a:name:Logitech USB Optical Mouse: |
171 | MOUSE_DPI=1000@125 | |
172 | ||
eb59c75e PH |
173 | # Logitech G700 Laser Mouse (Wired) |
174 | mouse:usb:v046dpc06b:name:Logitech G700 Laser Mouse: | |
175 | # Logitech G700 Laser Mouse (Wireless) | |
176 | mouse:usb:v046dpc531:name:Logitech USB Receiver: | |
177 | MOUSE_DPI=*1000@500 3800@500 500@1000 1500@1000 2000@1000 | |
178 | ||
eb59c75e PH |
179 | # Logitech T620 (or, the soap) |
180 | mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:4027: | |
181 | MOUSE_DPI=1200@250 | |
182 | ||
7731320a ZJS |
183 | # Logitech ZoneTouch Mouse T400 |
184 | mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:4026: | |
185 | MOUSE_DPI=1300@166 | |
85c24db1 | 186 | |
eb59c75e PH |
187 | # Logitech Ultrathin Touch Mouse |
188 | mouse:bluetooth:v046dpb00d:name:Ultrathin Touch Mouse: | |
189 | MOUSE_DPI=1000@1000 | |
190 | ||
eb59c75e PH |
191 | ########################################## |
192 | # Microsoft | |
193 | ########################################## | |
194 | ||
b631b481 PH |
195 | # Note: unsure that these work, it's likely that all devices on these |
196 | # receivers show up with the same vid/pid/name | |
197 | ||
198 | # Microsoft Sculpt Ergonomic Mouse | |
199 | mouse:usb:v045ep07a5:name:Microsoft Microsoft® 2.4GHz Transceiver v9.0: | |
200 | MOUSE_DPI=1000@142 | |
201 | ||
eb59c75e PH |
202 | # Microsoft Arc Touch Mouse USB |
203 | mouse:usb:v045ep07b1:name:Microsoft Microsoft® Nano Transceiver v1.0: | |
204 | MOUSE_DPI=1400@142 | |
205 | ||
206 | ########################################## | |
207 | # Oklick | |
208 | ########################################## | |
209 | ||
210 | # Oklick 406S Bluetooth Laster Mouse | |
211 | mouse:bluetooth:v056ep0061:name:Laser BTmouse: | |
212 | MOUSE_DPI=*800@333 1600@333 |