Skip to content

Instantly share code, notes, and snippets.

Created June 10, 2016 13:10
What would you like to do?
Apple's Magic Mouse works out of the box on linux (kernel/drivers/hid/hid-magicmouse.ko.gz). However, I wanted to edit the acceleration a bit. I'm not using this mouse for more than an year now, but still wouldn't like to lose this, because it took me some time to figure out how these acceleration variables work in X.
Section "InputClass"
Identifier "Apple Magic Mouse"
MatchIsPointer "yes"
MatchVendor "0x5ac"
MatchProduct "0x30d"
Driver "hid-magicmouse"
Option "AccelerationNumerator" "2"
Option "AccelerationDenominator" "1"
Option "AccelerationThreshold" "4"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment