Created
December 10, 2020 13:50
-
-
Save imabuddha/c34c732dcd11dbb278a87e7ce5330943 to your computer and use it in GitHub Desktop.
Apple Magic Trackpad 2 configuration for Raspberry Pi (& linux generally) — Properly configures the pressure sensitivity, natural scrolling, and the left/right/middle (1/2/3 finger) clicks.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# add this to /usr/share/libinput/50-system-apple.quirks (create if doesn't exist) | |
[Apple Magic Trackpad v2] | |
MatchName=*Magic Trackpad 2 | |
AttrSizeHint=162x115 | |
AttrTouchSizeRange=20:10 | |
AttrPressureRange=2:0 | |
AttrPalmSizeThreshold=900 | |
AttrThumbSizeThreshold=700 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# add this to /usr/share/X11/xorg.conf.d/99-apple-magic-trackpad-2.conf (create if doesn't exist) | |
Section "InputClass" | |
Identifier "Magic Trackpad 2" | |
MatchProduct "Magic Trackpad 2" | |
MatchDevicePath "/dev/input/event*" | |
Driver "libinput" | |
Option "NaturalScrolling" "true" | |
Option "ClickMethod" "clickfinger" | |
EndSection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment