How can I map buttons on my PS3 controller to keystrokes on my Mac? I purchased a PlayStation 3 controller for use with my Mac. It's paired via Bluetooth. It works great in emulators such as Snes9x, but I'd like to use it for other things as well. Is there any software that will allow me to map buttons on the controller to keystrokes?

I've tried USB Overdrive and as far as I can tell, it doesn't do what I want.

I'm on Mac OS X 10.6.6.
Yeah there's an application called "ControllerMate" that you can get here http://www.orderedbytes.com/controllermate/ . You pair the controller to the mac with USB (I think Bluetooth will work too but you might have to look up special instructions), then use this app to bind the controller functions to keys and mouse movements. It works really well. I used to use it to play things like Portal because they don't natively support the PS3 controller.