mr-cal / Linux-Magic-Trackpad-2-USB-C-Driver

Driver for the 2024 Apple Magic Trackpad with USB-C support
8 stars 0 forks source link

Two finger scrolling does not always work #1

Open martinstark opened 1 week ago

martinstark commented 1 week ago

I have both the original Magic Trackpad 2 and the 2024 USB-C version.

If I put two fingers lightly on the 2024 trackpad it does not always result in scrolling and instead moves the cursor around. It will sometimes drop scroll input and start moving the mouse instead while doing two finger scrolling, or trigger a click. I have no issues with the previous generation using the same input settings in Arch/Sway.

input "76:804:Apple_Inc._Magic_Trackpad_2" {
  tap enabled
  accel_profile adaptive
  pointer_accel 0.25
}
mr-cal commented 1 week ago

Does increasing pressure increase the likelihood of a two-finger scroll being detected?

I wonder if there are some differences in pressure sensitivity or how much variance there is from device to device. You may be able to experiment with ABS_MT_PRESSURE or ABS_PRESSURE and see if it makes a difference.

https://github.com/mr-cal/Linux-Magic-Trackpad-2-USB-C-Driver/blob/7bf74255ea0dd6a9c0c7790cf4c115b52637e976/linux/drivers/hid/hid-magicmouse.c#L638-L639