If the game supports joystick control, you can play it with a joystick, gamepad or racing wheel over USB or Bluetooth.
Connect the controller to your Mac and then relaunch the game. The game should find the joystick automatically — if not, make sure that joystick control is enabled in the game’s options screen.
Most USB controllers will work in OS X, but some may require additional drivers before OS X will recognise them. Consult the device manufacturer if you have trouble getting OS X to recognise it.
To get OS X to recognise an XBOX 360 controller, you need to install third-party drivers. Get the drivers here