OS X: Some games have gamepad and joystick controls functional out of the box. Some don’t. For the latter, a little app called Joystick Mapper can allow you to use any compatible controller with any game—whether it supports your gamepad/joystick or not. Read more…
See more here:
Joystick Mapper Makes Your Favorite Mac Gamepad Work with Any App