need assistance in handling dual shock controller

can anyone help me in interfacing ps2 controller...

Also, Arduino Playground - PSXLibrary

Do they not teach Google Search in school anymore? I feel like most of our replies could be replaced by a very small shell script.