mouse buttons

Hi,

I'm interrested too to asign some functions to my mouse buttons. I've try the "Mouse Gestures" but not helpfull for me because this function is activated on each right-click,  my right-click is also set up to repeat the last function. 

I've two other button on the left side and the right side. I would like to associate those buttons to the functions "redo" & "undo" e.g. .But in the menu I can't find the possibility to select the "redo" or "undo" and associate them to those buttons.

Is that possible ?

Thank you