I already showed how to connect an Xbox One controller to your PC using a micro USB cable.
Only wired connection is available at the moment. But how about the new PlayStation 4 controller Dualshock 4? Can you use a PS4 controller to play PC games? Yes you can. Windows 8 and higher can detect it if attached with a micro USB cable, same as with Xbox One controller. Windows 8 can also detect it wirelessly. To do that, your PC must be equipped with a Bluetooth module. Then follow standard Windows 8 procedure to detect a new Bluetooth device, and press and hold Share then PS button on the Dualshock 4 while Windows searches for it. The Dualshock 4 will blink, and Windows should detect and connect it. Follow on-screen instructions to complete registration. There is a problem though. By default, Dualshock 4 will be installed as an older DirectInput device, since Dualshock 4 does not support the newer XInput interface. XInput is what most modern games want. There was a similar problem with older Dualshock 3 controller from PlayStation 3, but good people wrote a software wrapper which converts it to a XInput device. This driver has now been updated to support Dualshock 4, so now you can use Dualshock 4 as a XInput device in Windows 8. Windows 7 is a different story – there have been reports that it drops the wireless connection, however a viewer on my channel confirmed that after installing the above mentioned software, he can play games in Windows 7 with DS4 connected wirelessly for several hours without any issues. Die-hard fans can even connect the newer PS4 controller to the old buddy PS3. This is done in a bit weird way. First you connect the DS4 to PS3 with a micro USB cable, then enter Accessory Settings in the PS3 menu, select Manage Bluetooth devices and start searching for one. While the console does that, pull out the micro USB cable and press both Share and PS buttons on the Dualshock 4. When it blinks, connect the cable back. PS3 should now detect the Wireless Controller. Proceed to register it as usual. After the registration is done, you can detach the cable and play PS3 games wirelessly with Dualshock 4.