iOS (jailbreak): So far, the game controllers for iOS have been pretty terrible. If you're jailbroken, however, the Controller for All tweak allows you to use your PS3 controller for any game that supports Apple's controller software.
We've talked before about pairing a PS3 controller with your iOS device, but Controller for All is meant to do so as a registered Apple device. This means it works with any app that supports Apple's MFi controller settings (you can find a list of all the apps compiled by Reddit user Heznarrt here). You need to pair your PS3 controller with your computer before you can do so with your iOS device, but it's a pretty simple process. Once your PS3 controller is paired up, you'll be able to start playing any game that supports MFi with it seamlessly.