Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update Quirk file after input from libinput repo and fix accidental extra line in quirk #15

Merged
merged 7 commits into from
Feb 6, 2025
Merged
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,19 +69,28 @@ 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
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
Expand Down