PS2 to Arduino

for a university project I plan on using a PS2 controller as a link between arduino and MaxMSP, I'd like to use the PS2 controller to adjust the number data within max, could anyone point me in the right direction of how the actual wiring connects?

I've been on this site Arduino Playstation 2 Controller Library Troubleshooting Guide « The Mind of Bill Porter and this one too Interfacing a PS2 (PlayStation 2) Controller - Curious Inventor which are helpful for wire colours but don't really run me through how to connect them to the arduino for use as analog and digital interfaces.

Ther is an email address at the bottom - bill at billporter.info - ... maybe ask the person directly?