I remember xmonobut from pdaXrom. It was real, real tiny, and controlling it was more trouble than it was worth. What is wrong with using keylaunch to remap the button order through xmodmap?
Sorry, i don't get it. How to remap the mouse buttons to keyboard keys using keylaunch?
I found this somewhere, but don't recall where. my ./.keylaunchrc file has:
key=.*.1:xmodmap -e "pointer = 1 2 3"
key=.*.2:xmodmap -e "pointer = 2 1 3"
key=.*.3:xmodmap -e "pointer = 3 1 2"
#special keys
key=...F9:orage
key=...F10:gpe-contacts
key=...F13:icedove
key=...F12:iceweasel
key=...F11:xfce4-popup-menu
# brightness adjusting
key=..*3:setfl -
key=..*4:setfl +
The first set remaps the "buttons" on the mouse, so that Ctrl-1 will have a tap be the left mouse button, Ctrl-2 maps a tap to Button 2, and Ctrl-3 to 3. It works, but not as fluidly as I'd like, of course.
The function-key mappings are for the keys along the bottom row of the keyboard, and the brightness stuff I think you told us about.