Skip to content

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

License

Notifications You must be signed in to change notification settings

nexustar/linux-hid-magicmouse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 latest 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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages