Ps3 controller not working

Does anyone know what drivers/programs I need to install to get a PS3 controller working on Windows XP?

I connected the controller via a USB cable, and the computer immediately picked it up and recognised it as a PlayStation controller. So I thought it was all going to work out of the box, but it doesn't.

As mentioned, the computer knows there is a controller connected, but when I try the ‘test,’ it won't recognise any inputs at all and obviously doesn't work in games either.

I found a few guides, etc, but all seem to have broken links for the drivers