50-system-apple.quirks 3.6 KB

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