summaryrefslogtreecommitdiff
path: root/hwdb.d/70-mouse.hwdb
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-10-15 09:22:35 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-10-15 13:35:58 +0200
commit62ad1c6495c098a09b36bb20bb37a9b8a11df76f (patch)
treeb277e4ad7bf7ddd41b42f296369ac60c891c0169 /hwdb.d/70-mouse.hwdb
parentcc17fa8511def7a15c6ace2cd6cfd3f3fa34569d (diff)
downloadsystemd-62ad1c6495c098a09b36bb20bb37a9b8a11df76f.tar.gz
hwdb: reindent commments and say that "*" should always be trailing
Diffstat (limited to 'hwdb.d/70-mouse.hwdb')
-rw-r--r--hwdb.d/70-mouse.hwdb42
1 files changed, 22 insertions, 20 deletions
diff --git a/hwdb.d/70-mouse.hwdb b/hwdb.d/70-mouse.hwdb
index d0a2a22709..afb935d640 100644
--- a/hwdb.d/70-mouse.hwdb
+++ b/hwdb.d/70-mouse.hwdb
@@ -6,35 +6,37 @@
# The lookup keys are composed in:
# 70-mouse.rules
#
-# Note: The format of the "mouse:" prefix match key is a
-# contract between the rules file and the hardware data, it might
-# change in later revisions to support more or better matches, it
-# is not necessarily expected to be a stable ABI.
+# Note: The format of the "mouse:" prefix match key is a contract between the
+# rules file and the hardware data, it might change in later revisions to
+# support more or better matches, it is not necessarily expected to be a stable
+# ABI.
#
-# Match string format:
+# Match key format:
# mouse:<subsystem>:v<vid>p<pid>:name:<name>:
#
# Supported subsystems: usb, bluetooth
# vid/pid as 4-digit hex lowercase vendor/product
#
# if vid/pid is unavailable, use
-# mouse:*:name:<name>:
+# mouse:*:name:<name>:*
# if name is unavailable, use
-# mouse:<subsystem>:v<vid>p<pid>:*
+# mouse:<subsystem>:v<vid>p<pid>:*
#
# For example, the following 5 matches all match the same mouse:
-# mouse:usb:v17efp6019:name:Lenovo Optical USB Mouse:
-# mouse:usb:*:name:Lenovo Optical USB Mouse:
-# mouse:usb:v17efp6019:*
-# mouse:*:name:Lenovo Optical USB Mouse:
+# mouse:usb:v17efp6019:name:Lenovo Optical USB Mouse:*
+# mouse:usb:*:name:Lenovo Optical USB Mouse:*
+# mouse:usb:v17efp6019:*
+# mouse:*:name:Lenovo Optical USB Mouse:*
+#
+# All matches should end in ':*' to allow future expansions of the match key.
#
# 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):
# systemd-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.
+# 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, preferably send them as a pull
# request to
@@ -44,12 +46,12 @@
# udevadm info /dev/input/eventXX.
#
# Allowed properties are:
-# ID_INPUT_TRACKBALL
-# MOUSE_DPI
-# MOUSE_WHEEL_CLICK_ANGLE
-# MOUSE_WHEEL_CLICK_ANGLE_HORIZONTAL
-# MOUSE_WHEEL_CLICK_COUNT
-# MOUSE_WHEEL_CLICK_COUNT_HORIZONTAL
+# ID_INPUT_TRACKBALL
+# MOUSE_DPI
+# MOUSE_WHEEL_CLICK_ANGLE
+# MOUSE_WHEEL_CLICK_ANGLE_HORIZONTAL
+# MOUSE_WHEEL_CLICK_COUNT
+# MOUSE_WHEEL_CLICK_COUNT_HORIZONTAL
#
#########################################
# ID_INPUT_TRACKBALL #
@@ -63,7 +65,7 @@
#########################################
#
# DPI settings are specified as
-# MOUSE_DPI=<dpi>[@<frequency>]
+# MOUSE_DPI=<dpi>[@<frequency>]
#
# Where <dpi> is the resolution in dots per inch, and <frequency> the
# sampling frequency in Hz (optional). If a device supports dynamic