Thanks for the link which was helpful.
I managed to solve it in the end by adding the line
PHP Code:
xmodmap -e "pointer = 1 2 3 8 9 4 5 6 7"
to a startup script.
I'm not really sure what's going on here though - my mouse only has 7 buttons, including scroll up & scroll down, so not sure what the 8 & 9 are.
xev was previously reporting my thumb buttons as 8 and 9, wheel up/down as 4 and 5, and nothing for 6 & 7 before I added this line. Now it reports thumb as 6 & 7, with no 8 & 9.
(I also changed the buttons option to 7 in the xorg.conf file - not sure if this had any effect though)
If anyone really understands this, please post!