If you have bluetooth in your computer already, go to add device.
hold the share and PS button until the light bar is flashing super quick
Click on the pair button on your PC.

At that point it will work with game, however the in game calibration will be broken, and some mappings will be wrong.

As Zfz mentions there is motionjoy. I prefer Input Mapper though, it will fix all issues with the game not liking the controller.