Each button on the mouse should have a Unique number associated with it.
This Button Number can be used to configure a specific button.
xinput | grep -m 1 "DeathAdder" | sed 's/^.*id=\([0-9]*\)[ \t].*$/\1/'
returns:
8
NOTE: See Determine the Mouse.
xinput get-button-map 8
returns:
1 2 3 4 5 6 7 8 9
NOTE: The id of 8 is used, as determined by the previous command.
xinput test
returns:
... button press 1 button release 1 ...
NOTE: A unique button number should be able to be determined for each button on the mouse.
xev | grep button or xev
displays:
NOTE: Move the mouse cursor within the boxes and the xev will display many lines of data relating to mouse movements and button presses.
With xev running, move the mouse pointer into the xev display and click each button on the mouse.
ButtonPress event, serial 37, synthetic NO, window 0x6200001, root 0x1e4, subw 0x0, time 2473474233, (151,31), root:(239,183), state 0x0, button 1, same_screen YES
NOTE: A unique button number should be able to be determined for each button on the mouse.