Created
August 10, 2024 15:43
-
-
Save itsmikita/8e721e47082d3e1b547485db842cb2c8 to your computer and use it in GitHub Desktop.
Fix Magic Mouse (1 but may work on 2 as well) on Arch Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Stop the kernel driver | |
sudo modprobe -r hid_magicmouse | |
# Start the driver with these options | |
sudo modprobe hid_magicmouse \ | |
emulate_3button=0 \ | |
middle_click_3finger=1 \ | |
stop_scroll_while_moving=1 \ | |
scroll_acceleration=1 \ | |
scroll_speed=50 \ | |
scroll_delay_pos_x=300 \ | |
scroll_delay_pos_y=300 | |
# You can save it for persistance in /etc/modprobe/hid_magicmouse.conf: | |
# option hid_magicmouse emulate_3button=0 middle_click_3finger=1 stop_scroll_while_moving=1 scroll_acceleration=1 scroll_speed=50 scroll_delay_pos_x=300 scroll_delay_pos_y=300 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment