Reset PS3 controller

Hey , can someone help me. I dumped the USB PS3 code which comes in the PS3 arduino library while the controller was connected to the arduino and now the joystick doesn't work....it's recognised by the computer but it doesn't connect through bluetooth. Any help would be greatly appreciated. TIA

This might help:
http://forum.arduino.cc/index.php?topic=137747.0

Chaitanya1:
This might help:
Step by step on how to connect a PS3 controller to an arduino via Bluetooth - Networking, Protocols, and Devices - Arduino Forum

This would help if I hadn't connected the joystick while dumping the USB ps3 controller code on the arduino ....after doing that it somehow spoilt the joystick and I need to find a way to fix it :frowning: