http://sksapps.com/index.php?page=ps3.html
Scroll down to the bottom of the page for Windows and Linux drivers for the PS3's SixAxis contorller. I don't have a PS3 myself so if anyone that does could try this out and verify for everyone here that it works I'm sure we all would be glad to hear it.