A new jailbreak tweak called Controllers for All allows users to play iPhone and iPad games with the PlayStation 3's Dual Shock 3 controller, via Bluetooth. The tweak supports all games that have native iOS 7 controller support and when used with a Lightning Digital AV Adapter, users can play iOS games, with a wireless controller, on a television.
From our sister-site TouchArcade:
If you're into the whole jailbreaking scene, this seems like a must-have tweak. The games I've played with my actual legit iOS 7 controllers have been really awesome, and I can only imagine how much better the whole experience would be with an actual amazingly high quality controller like the PS3 controller.
Also, amusingly enough, you could pick up the PS3 controller from Amazon, jailbreak your device, and drop two bucks on Controllers for All, and spend less than half of what a "real" iOS 7 controller would cost you for what I imagine to be a substantially better overall experience.
Controllers for All is a $1.99 download from Cydia's ModMyi repo.