If you are on Linux and using fancy gaming mouse, there is a chance you can configure it with the open source libratbag (console app) or Piper (GUI app). It won't make any network requests. :)
I wish not to tinker 3 days to setup my mouse.
??
https://github.com/libratbag/piper
it's a GUI app, it looks pretty nice. It's also in the Debian repos, so you can just install it with "apt install piper"
Looks pretty simple to me.