chiark / gitweb /
hwdb: fix syntax
[elogind.git] / hwdb / 70-mouse.hwdb
index a7e9eb2ce8e055007b92b0dcaf00aed1b21be0f3..a62ebc497de846adeb10adc61ebee85ba42731d0 100644 (file)
 # mouse:usb:v17efp6019:*
 # mouse:*:name:Lenovo Optical USB Mouse:
 #
+# To add local entries, create a new file
+#   /etc/udev/hwdb.d/71-mouse-local.hwdb
+# and add your rules there. To load the new rules execute (as root):
+#   udevadm hwdb --update
+#   udevadm trigger /dev/input/eventXX
+# where /dev/input/eventXX is the mouse in question. If in
+# doubt, simply use /dev/input/event* to reload all input rules.
+#
+# If your changes are generally applicable, open a bug report on
+#   http://bugs.freedesktop.org/enter_bug.cgi?product=systemd
+# and include your new rules, a description of the device, and the
+# output of
+#   udevadm info /dev/input/eventXX
+# (or /dev/input/event*).
+#
+# Allowed properties are:
+#    MOUSE_DPI
+#    MOUSE_WHEEL_CLICK_ANGLE
+#
+#########################################
+#               MOUSE_DPI               #
+#########################################
+#
 # DPI settings are specified as
 #    MOUSE_DPI=<dpi>[@<frequency>]
 #
 # third-party software) must not be entered into this file, use a local
 # hwdb instead.
 #
-# To add local entries, create a new file
-#   /etc/udev/hwdb.d/71-mouse-local.hwdb
-# and add your rules there. To load the new rules execute (as root):
-#   udevadm hwdb --update
-#   udevadm trigger /dev/input/eventXX
-# where /dev/input/eventXX is the mouse in question. If in
-# doubt, simply use /dev/input/event* to reload all input rules.
+#########################################
+#       MOUSE_WHEEL_CLICK_ANGLE         #
+#########################################
+#
+# The angle in degrees per mouse wheel 'click', specified as
+#     MOUSE_WHEEL_CLICK_ANGLE=<degrees>
+#
+# Most mice have a 15 degree click stop (24 clicks per full rotation).
 #
-# If your changes are generally applicable, open a bug report on
-#   http://bugs.freedesktop.org/enter_bug.cgi?product=systemd
-# and include your new rules, a description of the device, and the
-# output of
-#   udevadm info /dev/input/eventXX
-# (or /dev/input/event*).
 
 #
 # Sort by by brand, type (usb, bluetooth), DPI, frequency.
@@ -146,6 +164,7 @@ mouse:usb:v046dpc045:name:Logitech USB-PS/2 Optical Mouse:
 # Logitech Wireless Mouse M325
 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:400a:
  MOUSE_DPI=600@166
+ MOUSE_WHEEL_CLICK_ANGLE=20
 
 # Logitech MX1000 Laser Cordless Mouse
 mouse:usb:v046dpc50e:name:Logitech USB RECEIVER:
@@ -229,6 +248,9 @@ mouse:ps2:*:name:ImExPS/2 Logitech Wheel Mouse:
 # Microsoft
 ##########################################
 
+mouse:usb:v045ep0040:name:Microsoft Microsoft 3-Button Mouse with IntelliEye(TM):
+ MOUSE_DPI=400@125
+
 # Note: unsure that these work, it's likely that all devices on these
 # receivers show up with the same vid/pid/name