Help with setting mouse action

I use Adobe Illustrator and would like to assign the mouse right button to drag the canvas around - I normally do this by holding the space bar down and then mouse left click down + drag to move the canvas. I want to assign the mouse right click down to hold the space bar down and left click down. When I release the mouse right button everything should go back to normal. Can some one please show me the steps to do this?