xinput list
xinput set-button-map *id* 1 3 2 4 5 6 7 9 8 10
Add a custom X11 configuration
sudo su -
echo "
Section \"InputClass\"
Identifier \"Swiftpoint ProProint USB\"
MatchProduct \"Swiftpoint Limited GesturePoint Mouse Dongle\"
MatchIsPointer \"true\"
Option \"ButtonMapping\" \"1 3 2 4 5 6 7 9 8 10\"
EndSection
Section \"InputClass\"
Identifier \"Swiftpoint ProProint Bluetooth\"
MatchProduct \"ProPoint\"
MatchIsPointer \"true\"
Option \"ButtonMapping\" \"1 3 2 4 5 6 7 9 8 10\"
EndSection
" >> /usr/share/X11/xorg.conf.d/20-swiftpoint.conf
#reboot or restart X11 server
There are two ways to solve this.
Note: both ways need a restart (off and on again) of the bluetooth adapter
sudo nano /var/lib/bluetooth/<mac-of-your-adapter>/<mac-of-your-mouse>/info
add/change the following settings
[ConnectionParameters]
MinInterval=6
MaxInterval=7
Latency=0
Timeout=216
echo 0 > /sys/kernel/debug/bluetooth/hci0/conn_latency
echo 6 > /sys/kernel/debug/bluetooth/hci0/conn_min_interval
echo 7 > /sys/kernel/debug/bluetooth/hci0/conn_max_interval