xinput set-button-map 8 1 0 3 4 5 6 7 8 9
NOTE: The initial 8 is the Mouse Id as determined per Determine the Mouse.