It allows you to create application and window specific profiles

X-Mouse Button Control