Question: how to connect my ps3 controller to my pc?
Answer: If your DualShock 3 controller is paired with a PS3, first unplug the PS3 from its power source, or else it can cause syncing conflicts.
Plug the DualShock 3 into your PC via a mini-USB cable. ... 
Download and run ScpToolkit Setup.exe. ... 
If you're on Windows 7, download and install the Xbox 360 controller drivers.