Evoluent mouse and Linux Mint

Inasmuch asEvoluent 3 mouse an upgrade from Ubuntu 12.04 to Ubuntu 14.04.1 left me fighting the user interface rather than using it, I installed Linux Mint 17 and am much better off. The only problem was that, as with Ubuntu 14.04.1, I couldn’t use all five buttons on my Evoluent 3 mouse properly, so I had to configure X to remap the mouse buttons.

This is unashamedly a put-it-on-the-blog-so-I-don’t-lose-it post, but hopefully you also find it useful.

Based on Changing mouse button mappings on Evoluent Vertical mouse in Lucid, with Ubuntu 14.04.1 I used to have /etc/udev/rules.d/90-xorg-local.rules:

ACTION!="add|change", GOTO="xorg_local_end"
KERNEL!="event*", GOTO="xorg_local_end"
 
ATTRS{ID_INPUT_MOUSE}!="1", GOTO="xorg_local_end"
ATTRS{ID_MODEL}!="Evoluent_VerticalMouse_3", GOTO="xorg_local_end"
 
ENV{ID_INPUT.tags}="evoluent_vertical_mouse"
 
LABEL="xorg_local_end"

and /etc/X11/xorg.conf/20-evoluent.conf:

Section "InputClass"
	Identifier "Reset vertical mouse buttons"
	MatchTag "evoluent_vertical_mouse"
	Driver "evdev"
	Option "Emulate3Buttons"	"off"
	Option "EmulateWheel"		"off"
	Option "ZAxisMapping"		"4 5"
	Option "ButtonMapping"		"1 2 3 4 5 6 7 8 9"
EndSection

but a web search yesterday turned up Using an Evoluent VerticalMouse 4 on Linux, so now all I have is /etc/X11/xorg.conf/20-evoluent.conf containing:

Section "InputClass"
	Identifier "Reset vertical mouse buttons"
	MatchUSBID "1a7c:0068"
	Option "ButtonMapping"		"1 2 3 4 5 6 7 8 9"
EndSection

where the MatchUSBID value comes from running lsusb as instructed in the mrericsir.com post.