-
-
Save linktoming/3b0f65ae6b31e73d92ef270ee9756efc 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