The best way to do this is by using the Logitech software that came with your mouse. This will allow you to customize everything from buttons, sensitivity, and more.