quirks: change all 3-digit matches to zero-prefixed 4-digit matches
authorPeter Hutterer <peter.hutterer@who-t.net>
Sun, 19 Mar 2023 23:14:34 +0000 (09:14 +1000)
committerJosé Expósito <jose.exposito89@gmail.com>
Mon, 20 Mar 2023 17:38:28 +0000 (17:38 +0000)
Time to get some standardization here!

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
quirks/30-vendor-logitech.quirks
quirks/30-vendor-wacom.quirks
quirks/50-system-apple.quirks
quirks/50-system-chicony.quirks

index 6f50cd0e0a2639933891ccc1435332c6459f5186..7969cd08ef08022700f31929f0f6d7d725377609 100644 (file)
@@ -8,7 +8,7 @@ ModelTrackball=1
 [Logitech Marble Mouse Trackball]
 MatchUdevType=mouse
 MatchBus=usb
-MatchVendor=0x46D
+MatchVendor=0x046D
 MatchProduct=0xC408
 AttrEventCode=-BTN_MIDDLE
 
@@ -47,61 +47,61 @@ MatchProduct=0x4011
 AttrPalmPressureThreshold=400
 
 [Logitech MX Master (4041)]
-MatchVendor=0x46D
+MatchVendor=0x046D
 MatchProduct=0x4041
 ModelInvertHorizontalScrolling=1
 [Logitech MX Master (4060)]
-MatchVendor=0x46D
+MatchVendor=0x046D
 MatchProduct=0x4060
 ModelInvertHorizontalScrolling=1
 [Logitech MX Master (4071)]
-MatchVendor=0x46D
+MatchVendor=0x046D
 MatchProduct=0x4071
 ModelInvertHorizontalScrolling=1
 
 # MX Master has a different PID on bluetooth
 [Logitech MX Master (Bluetooth B012)]
-MatchVendor=0x46D
+MatchVendor=0x046D
 MatchProduct=0xB012
 ModelInvertHorizontalScrolling=1
 [Logitech MX Master (Bluetooth B017)]
-MatchVendor=0x46D
+MatchVendor=0x046D
 MatchProduct=0xB017
 ModelInvertHorizontalScrolling=1
 [Logitech MX Master (Bluetooth B01E)]
-MatchVendor=0x46D
+MatchVendor=0x046D
 MatchProduct=0xB01E
 ModelInvertHorizontalScrolling=1
 
 [Logitech MX Master 2S USB]
-MatchVendor=0x46D
+MatchVendor=0x046D
 MatchProduct=0x4069
 ModelInvertHorizontalScrolling=1
 
 # MX Master 2S has a different PID on bluetooth
 [Logitech MX Master 2S Bluetooth]
-MatchVendor=0x46D
+MatchVendor=0x046D
 MatchProduct=0xB019
 ModelInvertHorizontalScrolling=1
 
 [Logitech MX Master 3 USB]
-MatchVendor=0x46D
+MatchVendor=0x046D
 MatchProduct=0x4082
 ModelInvertHorizontalScrolling=1
 
 # MX Master 3 has a different PID on bluetooth
 [Logitech MX Master 3 Bluetooth]
-MatchVendor=0x46D
+MatchVendor=0x046D
 MatchProduct=0xB023
 ModelInvertHorizontalScrolling=1
 
 [Logitech MX Master 3S]
-MatchVendor=0x46D
+MatchVendor=0x046D
 MatchProduct=0xB034
 ModelInvertHorizontalScrolling=1
 
 [Logitech MX Master 3B]
-MatchVendor=0x46D
+MatchVendor=0x046D
 MatchProduct=0xB028
 ModelInvertHorizontalScrolling=1
 
index d9733aeaed74751292fcfa809ae298bcb82f73c9..06e66a7687e6a545689c950e8aa4e29f9318915f 100644 (file)
@@ -16,7 +16,7 @@ AttrPalmSizeThreshold=5
 [Wacom ISDV4 4200 Pen]
 MatchUdevType=tablet
 MatchBus=usb
-MatchVendor=0x56A
+MatchVendor=0x056A
 MatchProduct=0x4200
 AttrEventCode=-ABS_TILT_X;-ABS_TILT_Y;
 
index 3c2c32b3a3bcce324d90b0ad937c4457d71d9fa3..5ce956f9cc805f43a8602262b539d4d5419b3ea9 100644 (file)
@@ -30,7 +30,7 @@ AttrKeyboardIntegration=internal
 [Apple Internal Keyboard (SPI)]
 MatchUdevType=keyboard
 MatchBus=spi
-MatchVendor=0x5AC
+MatchVendor=0x05AC
 AttrKeyboardIntegration=internal
 
 # The Apple MagicMouse has a touchpad built-in but the kernel still
@@ -49,7 +49,7 @@ AttrEventCode=-EV_ABS
 [Apple Magic Trackpad v1 (2010, clickpad)]
 MatchUdevType=touchpad
 MatchBus=bluetooth
-MatchVendor=0x5AC
+MatchVendor=0x05AC
 MatchProduct=0x030E
 AttrSizeHint=130x110
 AttrTouchSizeRange=20:10
@@ -78,7 +78,7 @@ AttrPalmPressureThreshold=190
 [Apple Touchpad OneButton]
 MatchUdevType=touchpad
 MatchBus=usb
-MatchVendor=0x5AC
+MatchVendor=0x05AC
 MatchProduct=0x021A
 ModelAppleTouchpadOneButton=1
 
@@ -92,14 +92,14 @@ AttrPalmSizeThreshold=1000
 [Apple Laptop Touchpad (MacBookPro11,2 among others)]
 MatchUdevType=touchpad
 MatchBus=usb
-MatchVendor=0x5AC
+MatchVendor=0x05AC
 MatchProduct=0x0262
 AttrPalmSizeThreshold=1600
 
 [Apple Laptop Touchpad (SPI)]
 MatchUdevType=touchpad
 MatchBus=spi
-MatchVendor=0x5AC
+MatchVendor=0x05AC
 ModelAppleTouchpad=1
 AttrSizeHint=104x75
 AttrTouchSizeRange=150:130
@@ -108,7 +108,7 @@ AttrPalmSizeThreshold=1600
 [Apple Laptop Touchpad (MTP)]
 MatchUdevType=touchpad
 MatchName=Apple*MTP*
-MatchVendor=0x5AC
+MatchVendor=0x05AC
 ModelAppleTouchpad=1
 AttrSizeHint=104x75
 AttrTouchSizeRange=150:130
@@ -117,14 +117,14 @@ AttrPalmSizeThreshold=1600
 [Apple Laptop Keyboard (MTP)]
 MatchUdevType=keyboard
 MatchName=Apple*MTP*
-MatchVendor=0x5AC
+MatchVendor=0x05AC
 AttrKeyboardIntegration=internal
 
 # The Linux applespi driver currently uses the Synaptics vendor for some reason
 [Apple Laptop Touchpad (SPI) applespi driver]
 MatchUdevType=touchpad
 MatchBus=spi
-MatchVendor=0x6CB
+MatchVendor=0x06CB
 ModelAppleTouchpad=1
 AttrSizeHint=104x75
 AttrTouchSizeRange=150:130
index 911b7d699cc7ca52f2b4cb6c85f33bad4c2397e5..3ca750bdd9b3ab307fef4f9dcbc9802d8816aaa4 100644 (file)
@@ -4,7 +4,7 @@
 [Acer Hawaii Keyboard]
 MatchUdevType=touchpad
 MatchBus=usb
-MatchVendor=0x4F2
+MatchVendor=0x04F2
 MatchProduct=0x1558
 AttrTPKComboLayout=below