How to use a PS3 controller in unity 4 free

I want to make a 3d platfourmer with unity,blender,and gimp.I just want to be able to use a ps3 controller

I recommend MotionInJoy.

Once you get your computer recognizing whatever controller you have, it works just like any other controller.

even in unity pro