chiark / gitweb /
hwdb: add MOUSE_WHEEL_CLICK_ANGLE as property
[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
168 # Logitech MX1000 Laser Cordless Mouse
169 mouse:usb:v046dpc50e:name:Logitech USB RECEIVER:
170 # Logitech Cordless Click! Plus
171 mouse:usb:v046dpc50e:name:Logitech USB Receiver:
172 # Logitech, Inc. RX 300 Optical Mouse
173 mouse:usb:v046dpc040:name:Logitech USB-PS/2 Optical Mouse:
174  MOUSE_DPI=800@125
175
176 # Logitech MX 518
177 mouse:usb:v046dpc01e:name:Logitech USB-PS/2 Optical Mouse:
178  MOUSE_DPI=400@125 *800@125 1600@125
179
180 # Logitech, Inc. RX 250 Optical Mouse
181 mouse:usb:v046dpc050:name:Logitech USB-PS/2 Optical Mouse:
182  MOUSE_DPI=800@142
183
184 # Logitech G400 (Wired)
185 mouse:usb:v046dpc245:name:Logitech Gaming Mouse G400:
186  MOUSE_DPI=400@1000 *800@1000 1800@1000 3600@1000
187
188 # Logitech G400s (Wired)
189 mouse:usb:v046dpc24c:name:Logitech G400s Optical Gaming Mouse:
190  MOUSE_DPI=400@1000 *800@1000 2000@1000 4000@1000
191
192 # Logitech Wireless Mouse M185
193 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:4008:
194 # Logitech M705 (marathon mouse)
195 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:101b:
196  MOUSE_DPI=800@166
197
198 # Logitech G500s Laser Gaming Mouse
199 mouse:usb:v046dpc24e:name:Logitech G500s Laser Gaming Mouse:
200  MOUSE_DPI=400@500 *800@500 2000@500
201
202 # Logitech B605 Wireless Mouse (also M505)
203 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:101d:
204  MOUSE_DPI=900@166
205
206 # Logitech RX1000 Laser Mouse
207 mouse:usb:v046dpc046:name:Logitech USB Optical Mouse:
208 # Logitech M100 Optical Mouse
209 mouse:usb:v046dpc05a:name:Logitech USB Optical Mouse:
210 # Logitech USB Laser Mouse M-U0011-O rebranded as "terra Laser"
211 mouse:usb:v046dpc065:name:Logitech USB Laser Mouse:
212  MOUSE_DPI=1000@125
213
214 # Logitech MK260 Wireless Combo Receiver aka M-R0011
215 mouse:usb:v046dpc52e:name:Logitech USB Receiver:
216  MOUSE_DPI=1000@200
217
218 # Logitech G700 Laser Mouse (Wired)
219 mouse:usb:v046dpc06b:name:Logitech G700 Laser Mouse:
220 # Logitech G700 Laser Mouse (Wireless)
221 mouse:usb:v046dpc531:name:Logitech USB Receiver:
222  MOUSE_DPI=*1000@500 3800@500 500@1000 1500@1000 2000@1000
223
224 # Logitech USB Laser Mouse M-UAS144 [LS1 Laser Mouse]
225 mouse:usb:v046dpc062:name:Logitech USB Laser Mouse:
226 # Logitech USB Laser Mouse M-U0007
227 mouse:usb:v046dpc069:name:Logitech USB Laser Mouse:
228  MOUSE_DPI=1200@125
229
230 # Logitech T620 (or, the soap)
231 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:4027:
232  MOUSE_DPI=1200@250
233
234 # Logitech ZoneTouch Mouse T400
235 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:4026:
236  MOUSE_DPI=1300@166
237
238 # Logitech Ultrathin Touch Mouse
239 mouse:bluetooth:v046dpb00d:name:Ultrathin Touch Mouse:
240  MOUSE_DPI=1000@1000
241
242 # ImExPS/2 Logitech Wheel Mouse
243 mouse:ps2:*:name:ImExPS/2 Logitech Wheel Mouse:
244  MOUSE_DPI=400@250
245
246 ##########################################
247 # Microsoft
248 ##########################################
249
250 # Note: unsure that these work, it's likely that all devices on these
251 # receivers show up with the same vid/pid/name
252
253 # Microsoft Sculpt Ergonomic Mouse
254 mouse:usb:v045ep07a5:name:Microsoft Microsoft® 2.4GHz Transceiver v9.0:
255  MOUSE_DPI=1000@142
256
257 # Microsoft Arc Touch Mouse USB
258 mouse:usb:v045ep07b1:name:Microsoft Microsoft® Nano Transceiver v1.0:
259  MOUSE_DPI=1400@142
260
261 # Microsoft  Wireless Laser Mouse 8000
262 mouse:bluetooth:v045ep0702:name:Microsoft  Wireless Laser Mouse 8000:
263  MOUSE_DPI=1000@1000
264
265 ##########################################
266 # Oklick
267 ##########################################
268
269 # Oklick 406S Bluetooth Laser Mouse
270 mouse:bluetooth:v056ep0061:name:Laser  BTmouse:
271  MOUSE_DPI=*800@333 1600@333
272
273 ##########################################
274 # Razer
275 ##########################################
276
277 # Razer Abyssus
278 mouse:usb:v1532p0042:name:Razer Razer Abyssus:
279  MOUSE_DPI=3500@1000