diff --git a/README.md b/README.md index 5bc71fa..9d0cb23 100644 --- a/README.md +++ b/README.md @@ -69,12 +69,12 @@ sudo dpkg -r magicmouse-hid ``` ## Configure libinput -For better responsibility, specially multi touch gestures, libinput parameters need to be implemented. +For better responsibility, specially multi touch gestures, libinput parameters need to be implemented, if not supported already. An [upstream patch](https://gitlab.freedesktop.org/libinput/libinput/-/commit/b566d64c172bc397f47a07edbd9d9c1a755595ce) for the trackpad has been accepted already. More information can be found [here](https://askubuntu.com/questions/1283762/custom-libinput-quirk-for-apple-magic-trackpad-2). To configure the Apple Magic Trackpad Parameters for libinput create quirks file `/usr/share/libinput/local-overrides.quirks` with following content: ```bash -[Apple Magic Trackpad USB C Bluetooth] +[Apple Magic Trackpad USB-C (Bluetooth)] MatchBus=bluetooth MatchVendor=0x004C MatchProduct=0x0324 @@ -82,6 +82,15 @@ AttrTouchSizeRange=20:10 AttrPressureRange=3:0 AttrPalmSizeThreshold=900 AttrThumbSizeThreshold=700 + +[Apple Magic Trackpad USB-C (USB)] +MatchBus=usb +MatchVendor=0x05AC +MatchProduct=0x0324 +AttrTouchSizeRange=20:10 +AttrPressureRange=3:0 +AttrPalmSizeThreshold=900 +AttrThumbSizeThreshold=700 ``` ## Data Layout of Trackpad