You can get BetterTouchTool, which can be used for all sorts of things for many devices. You can add functionalities to Magic Mice, Magic Trackpads, the standard Macintosh mouse, and any keyboard. I have the F5 key assigned to centering windows myself.