1# Do not edit this file, it will be overwritten on update 2 3[Apple Touchpads USB] 4MatchVendor=0x05AC 5MatchBus=usb 6MatchUdevType=touchpad 7ModelAppleTouchpad=1 8AttrSizeHint=104x75 9AttrTouchSizeRange=150:130 10AttrPalmSizeThreshold=800 11 12[Apple Touchpads Bluetooth] 13MatchVendor=0x05AC 14MatchBus=bluetooth 15MatchUdevType=touchpad 16ModelAppleTouchpad=1 17AttrTouchSizeRange=150:130 18 19[Apple Touchpads Bluetooth (new vendor ID)] 20MatchVendor=0x004C 21MatchBus=bluetooth 22MatchUdevType=touchpad 23ModelAppleTouchpad=1 24AttrTouchSizeRange=150:130 25 26[Apple Internal Keyboard] 27MatchName=*Apple Inc. Apple Internal Keyboard* 28AttrKeyboardIntegration=internal 29 30[Apple Internal Keyboard (SPI)] 31MatchUdevType=keyboard 32MatchBus=spi 33MatchVendor=0x5AC 34AttrKeyboardIntegration=internal 35 36# The Apple MagicMouse has a touchpad built-in but the kernel still 37# emulates a full 2/3 button mouse for us. Ignore anything from the 38# ABS interface 39[Apple MagicMouse] 40MatchUdevType=mouse 41MatchBus=bluetooth 42MatchVendor=0x05AC 43MatchProduct=0x030D 44AttrEventCodeDisable=EV_ABS 45 46# The External Apple "Magic" trackpads, both the 1st and 2nd generations, have 47# pretty good built-in spurious touch filtering in the device firmware. Using 48# low enough values such as 20:10 effectively disables libinput's filtering. 49[Apple Magic Trackpad v1 (2010, clickpad)] 50MatchUdevType=touchpad 51MatchBus=bluetooth 52MatchVendor=0x5AC 53MatchProduct=0x030E 54AttrSizeHint=130x110 55AttrTouchSizeRange=20:10 56AttrPalmSizeThreshold=900 57AttrThumbSizeThreshold=700 58 59# 2nd generation trackpad can be connected over Bluetooth as well as USB. 60[Apple Magic Trackpad v2 (2015)] 61MatchVendor=0x05AC 62MatchProduct=0x0265 63AttrSizeHint=162x115 64AttrTouchSizeRange=20:10 65AttrPalmSizeThreshold=900 66AttrThumbSizeThreshold=800 67AttrPalmPressureThreshold=190 68 69[Apple Magic Trackpad v2 (new vendor ID)] 70MatchVendor=0x004C 71MatchProduct=0x0265 72AttrSizeHint=162x115 73AttrTouchSizeRange=20:10 74AttrPalmSizeThreshold=900 75AttrThumbSizeThreshold=800 76AttrPalmPressureThreshold=190 77 78[Apple Touchpad OneButton] 79MatchUdevType=touchpad 80MatchBus=usb 81MatchVendor=0x5AC 82MatchProduct=0x021A 83ModelAppleTouchpadOneButton=1 84 85[Apple Touchpad MacbookPro5,5] 86MatchUdevType=touchpad 87MatchBus=usb 88MatchVendor=0x05AC 89MatchProduct=0x0237 90AttrPalmSizeThreshold=1000 91 92[Apple Laptop Touchpad (MacBookPro11,2 among others)] 93MatchUdevType=touchpad 94MatchBus=usb 95MatchVendor=0x5AC 96MatchProduct=0x0262 97AttrPalmSizeThreshold=1600 98 99[Apple Laptop Touchpad (SPI)] 100MatchUdevType=touchpad 101MatchBus=spi 102MatchVendor=0x5AC 103ModelAppleTouchpad=1 104AttrSizeHint=104x75 105AttrTouchSizeRange=150:130 106AttrPalmSizeThreshold=1600 107 108# The Linux applespi driver currently uses the Synaptics vendor for some reason 109[Apple Laptop Touchpad (SPI)] 110MatchUdevType=touchpad 111MatchBus=spi 112MatchVendor=0x6CB 113ModelAppleTouchpad=1 114AttrSizeHint=104x75 115AttrTouchSizeRange=150:130 116AttrPalmSizeThreshold=1600 117