reassign mouse buttons
My mouse has lots of buttons. Using
xev I found their numbers:
left, right: 1,3 (of course)
wheel: press-2, scroll-4,5 (of course)
left side: 8,9
right side: 4,5 (huh? where's 6 and 7 then?)
Now I'm using a program (acme) in which pressing 1 and 3 together means something else than pressing 2, so I would like to move 2 to something else than the scrollwheel (pressing scrollwheels a lot is guaranteed to give you RSI).
I would very much prefer this layout:
left, right: 1,3
wheel: press-2, scroll-4,5
left side: 2,2
right side: 2,2
How do I make X do this?