HowTo Configure An Apple Magic Mouse With Scrolling

From MediaWiki
Revision as of 21:48, 14 April 2026 by Rwh (talk | contribs)
Jump to navigationJump to search

Overview

How to configure an Apple Magic Mouse using Bluetooth with scrolling. An Apple Magic mouse by default does not have its scrolling enable. One must add Kernel parameters to enable scrolling.

Bluetooth Connection Sequence

Scrolling Solution

Add the following parameters to the "/etc/nst/grub2/nst_grub2_defaults" file: "hid_magicmouse.emulate_3button=0 hid_magicmouse.scroll_acceleration=1 hid_magicmouse.scroll_speed=40".

Section: NST Desktop (Graphical) Boot
#
# NST Desktop (Graphical) Boot
# --- ------- ----------- ----
NST_SERIAL[idx]="false";
NST_SERIAL_DEV[idx]="ttyS0";
NST_SERIAL_BAUD[idx]="115200";
NST_TITLE[idx]="Graphical Desktop";
NST_GRUB_CMDLINE_LINUX[idx]="audit=0 systemd.unit=graphical.target hid_magicmouse.emulate_3button=0 hid_magicmouse.scroll_acceleration=1 hid_magicmouse.scroll_speed=40";
NST_GRUB_SAVEDEFAULT[idx]="true";
NST_GRAPHICAL_BOOT[idx]="true";
idx=idx+1;
  

Then rebuild the grub2 configuration file:

[root@nst42-mbp grub2]# nstboot -v --grub2;