Not really a link, But I'll explain in his place. Here.
(The PS3 control may require MotionJoy, but don't hold me to that as I've used a 360 control.)
Wired Game Console Controls (PS3, 360, etc) with USB ports can be scanned and detected in your computer.
The control is also read by emulators, so you can map the controls yourself. (Give or take some compatibility issues.)
Hope this helps.