From f276f3de548d613d28f87b8d2ddfa849ff7e7178 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 20 Mar 2023 09:14:34 +1000 Subject: quirks: change all 3-digit matches to zero-prefixed 4-digit matches Time to get some standardization here! Signed-off-by: Peter Hutterer --- quirks/30-vendor-logitech.quirks | 26 +++++++++++++------------- quirks/30-vendor-wacom.quirks | 2 +- quirks/50-system-apple.quirks | 16 ++++++++-------- quirks/50-system-chicony.quirks | 2 +- 4 files changed, 23 insertions(+), 23 deletions(-) diff --git a/quirks/30-vendor-logitech.quirks b/quirks/30-vendor-logitech.quirks index 6f50cd0e..7969cd08 100644 --- a/quirks/30-vendor-logitech.quirks +++ b/quirks/30-vendor-logitech.quirks @@ -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 diff --git a/quirks/30-vendor-wacom.quirks b/quirks/30-vendor-wacom.quirks index d9733aea..06e66a76 100644 --- a/quirks/30-vendor-wacom.quirks +++ b/quirks/30-vendor-wacom.quirks @@ -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; diff --git a/quirks/50-system-apple.quirks b/quirks/50-system-apple.quirks index 3c2c32b3..5ce956f9 100644 --- a/quirks/50-system-apple.quirks +++ b/quirks/50-system-apple.quirks @@ -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 diff --git a/quirks/50-system-chicony.quirks b/quirks/50-system-chicony.quirks index 911b7d69..3ca750bd 100644 --- a/quirks/50-system-chicony.quirks +++ b/quirks/50-system-chicony.quirks @@ -4,7 +4,7 @@ [Acer Hawaii Keyboard] MatchUdevType=touchpad MatchBus=usb -MatchVendor=0x4F2 +MatchVendor=0x04F2 MatchProduct=0x1558 AttrTPKComboLayout=below -- cgit v1.2.1