Bill developed an Arduino library for PlayStation 2 controllers:
I had to rewrite a lot of code that powers the library, there is not much left of the original code written by Shutter of Arduino forums. There were many bug fixes, now the controller should automatically be in analog mode, and the mode button should be locked. There’s also a catch to make sure not to much time has past since the last controller reading. If there was, it will configure the controller again, in case it timed out.
Via Mecharobotics.

Hi,
You should have a look at my Playstation 3 Controller bluetooth library for Arduino: https://github.com/TKJElectronics/USB_Host_Shield_2.0
I will upload a video soon of me controller my balancing robot. So stay tuned at my blog: http://blog.tkjelectronics.dk/
Regards
Kristian Lauszus
Bill is a SHARP guy. He does a lot over at society of robots (http://www.societyofrobots.com/robotforum/) and a few other places known for electronics enthusiasts and robotics. He does a lot related to STEM (science technology engineering mathematics – typically grade school and high school) outreach. I would not be surprised if there aren’t quite a few other good tutorials out by Bill. He even does a stage show related to this stuff (http://www.billporter.info/science-brothers-premiere-show/). He inspired me to take on some volunteer projects of my own.