>>107820308
and this is how it looks
if this is not default on your distro then you might want to re-consider the distro since they obviously do not have your best interest in mind.
Section "InputClass"
Identifier "middle button"
MatchIsPointer "on"
MatchDriver "libinput"
Option "MiddleEmulation" "on"
EndSection