Need to root, need a pc to set the co troller, than You should buy sixaxis app and a ps 3 compatible controller. Than read the sixaxis apps website. There are everithing you need to set you controller.
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?