X-Mouse Button Control is a Windows application to remap your mouse buttons and expand the capabilities of your mouse!
You are able to provide application or window specific mappings, which means an application or window can use the mouse buttons differently from another. For each profile you can optionally define up to 5 layers of different button configurations which you can switch between using hotkeys or mouse buttons.