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# The Apple MagicMouse has a touchpad built-in but the kernel still 31# emulates a full 2/3 button mouse for us. Ignore anything from the 32# ABS interface 33[Apple MagicMouse] 34MatchUdevType=mouse 35MatchBus=bluetooth 36MatchVendor=0x05AC 37MatchProduct=0x030D 38AttrEventCodeDisable=EV_ABS 39 40# The External Apple "Magic" trackpads, both the 1st and 2nd generations, have 41# pretty good built-in spurious touch filtering in the device firmware. Using 42# low enough values such as 20:10 effectively disables libinput's filtering. 43[Apple Magic Trackpad v1 (2010, clickpad)] 44MatchUdevType=touchpad 45MatchBus=bluetooth 46MatchVendor=0x5AC 47MatchProduct=0x030E 48AttrSizeHint=130x110 49AttrTouchSizeRange=20:10 50AttrPalmSizeThreshold=900 51AttrThumbSizeThreshold=700 52 53# 2nd generation trackpad can be connected over Bluetooth as well as USB. 54[Apple Magic Trackpad v2 (2015)] 55MatchVendor=0x05AC 56MatchProduct=0x0265 57AttrSizeHint=162x115 58AttrTouchSizeRange=20:10 59AttrPalmSizeThreshold=900 60AttrThumbSizeThreshold=800 61AttrPalmPressureThreshold=190 62 63[Apple Magic Trackpad v2 (new vendor ID)] 64MatchVendor=0x004C 65MatchProduct=0x0265 66AttrSizeHint=162x115 67AttrTouchSizeRange=20:10 68AttrPalmSizeThreshold=900 69AttrThumbSizeThreshold=800 70AttrPalmPressureThreshold=190 71 72[Apple Touchpad OneButton] 73MatchUdevType=touchpad 74MatchBus=usb 75MatchVendor=0x5AC 76MatchProduct=0x021A 77ModelAppleTouchpadOneButton=1 78 79[Apple Touchpad MacbookPro5,5] 80MatchUdevType=touchpad 81MatchBus=usb 82MatchVendor=0x05AC 83MatchProduct=0x0237 84AttrPalmSizeThreshold=1000 85 86[Apple Laptop Touchpad (MacBookPro11,2 among others)] 87MatchUdevType=touchpad 88MatchBus=usb 89MatchVendor=0x5AC 90MatchProduct=0x0262 91AttrPalmSizeThreshold=1600 92