Funny playing with compatible (then cheap, about 15 euros) bluetooth PS3 dualshock (i.e. PLAYSTATION(R)3Conteroller-ghic).
Conteroller or controller? Ghic or geek? Misspelling or something went wrong.
Turn on bluetooth on your Mac.
Connect the controller via USB.
Press the P3 button on the controller (ignore pairing request and write down the name of the device you’ll find in com.apple.Bluetooth.plist).
Copy /Library/Preferences/com.apple.Bluetooth.plist to your desktop.
Open your desktop copy with Xcode.
The number of ClassOfDevice: 1.288.
The string of Name: PLAYSTATION(R)3Conteroller-ghic.
Press the P3 button on the controller.
If you like try your device with BombSquad.
I tested it on Yosemite. I hope this can help. Have fun… we need it!