Great job!
Yet since I don't own a ps3 one question is raised in my head..
Would ps1 and ps2 controller work as well with a similar lib and/or homebrew? Trough a PS to USB adapter I mean.
Sorry but I don't think it will, to do this library I had to specific DualShock3/Sixaxis stuff and HID commands so unless other controllers are a clone, it won't work.