In trying to make desktop Linux my daily driver here is a fix I found to eliminate middle button touchpad input - I was constantly getting accidental clicks and closing tabs I wanted to switch to.
gsettings set org.gnome.desktop.peripherals.touchpad middle-click-emulation true
https://askubuntu.com/questions/1405449/disable-middle-click-with-wayland