Skip to content

Instantly share code, notes, and snippets.

@deimi
Last active January 15, 2023 09:49
Show Gist options
  • Save deimi/01172f9e317074f7b50476e418a38b55 to your computer and use it in GitHub Desktop.
Save deimi/01172f9e317074f7b50476e418a38b55 to your computer and use it in GitHub Desktop.
My personal Swiftpoint ProPoint settings

Buttons

Temporary change

xinput list
xinput set-button-map *id* 1 3 2 4 5 6 7 9 8 10

Permanent change

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

Laggy mouse feeling problem

There are two ways to solve this.
Note: both ways need a restart (off and on again) of the bluetooth adapter

Device specific change

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

General bluetooth seeting change

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment