How to connect a controller to a mac?

Hey, I’ve read of people connecting their controllers to a computer (I use PS4, 360, and PS3) to use while playing a game in unity. How do you connect it to a mac? Is there a wire, bluetooth, etc?

-PigChop

360 controllers need to be connected using a wireless or wired receiver (you need to purchase it). However, it does need a driver installed for Mac. I suggest this: http://tattiebogle.net/index.php/ProjectRoot/Xbox360Controller/OsxDriver

PS4/PS3 controllers work automatically by connecting it to Mac wired. There’s no need for drivers.