Mouse button for ok/exit sketch and cancel

Is there a way to assign a mouse button (such as the back button) to cancel from a sketch and a command?  For instance the esc key will cancel a command but will not cancel a sketch.

I would also like to assign the (forward mouse button) to act as "OK" and exit sketch.  This might be like the "enter" key

Also I have a pretty simple dell mouse with the 2 side (forward/back buttons) but do not know where I can reprogram these.  The control panel/mouse does not list any sort of button customizing.

SolidworksUser Interface