If you want test out 3 finger middle click in linux use commands:
sudo apt-get install dkms blueman
cd linux/drivers/hid
make clean
make
sudo rmmod hid-magicmouse
sudo insmod ./hid-magicmouse.ko middle_click_3finger=1
If you want use as service use:
touch /etc/systemd/system/applemouse.service
Source /etc/systemd/system/applemouse.service
[Unit]
Description=Linux Apple Magic Mouse 3 Finger
[Service]
ExecStart=/Linux-Magic-3-Figner/run_service.sh
Type=oneshot
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
To enable your service after reboot, you run the command:
systemctl enable applemouse
To start/stop/check status of your service, run command below:
systemctl [start|stop|status] applemouse