I also have one of the A4 Tech optical mice with 5 buttons.
X does support all of the buttons.
Here is the relevant part of my XF86Config-4:
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "false"
Option "ZAxisMapping" "6 7"
Option "Buttons" "7"
The only thing I have ever worked out how to use them in is QuakeIII.
I can't say I have tried hard to find out if any other apps can use
them. I don't even use them in Quake anymore because in the heat of
battle I squeeze the mouse tightly and click the buttons on the side
when I don't mean to :\
--
Adrian Robertson
Christchurch
New Zealand
ICQ: 72041173
http://www.gotroot.net.nz/