/linux-hid-magicmouse

Add support to change click pressure and feedback for magic trackpad 2

Primary LanguageCGNU General Public License v2.0GPL-2.0

linux-hid-magicmouse

Add support to change click pressure and haptic feedback for magic trackpad 2

DKMS

Install with:

sudo ./scripts/install.sh

Remove with:

sudo ./scripts/remove.sh

Configuration

By default, it works the same as before. To change click pressure, it need to get into host click mode:

sudo modprobe -r hid_magicmouse
sudo modprobe hid-magicmouse host_click=on button_down_param=0x503f0606 button_up_param=0x35110404

The first byte means the pressure to trigger the button. And three lasest bytes means how the trackpad vibrates. Set latest two bytes 0x00 to get silent mode

By default when host_click=on, button_down_param=0x40170606 button_up_param=0x26140000, which is the same as medium pressure on macOS

Thanks