I remap the mouse buttons for a few games. My Logitech MX 1000 Laser mouse software didn't have the option to let me create profiles for different programs. But there is a program called UberOptions for the SetPoint software that lets you do it.
uberOptions Wiki | Main / uberOptions