use DS3 Tool, if so sometimes it acts funny, you need to test it first.
best thing to do - close the ds3 application fully, then reopen it and it shoudl work
Note- the buttons (at least for me) were all f*cked, like x being jump and square being punch
note 2- the controler has to be plugged in via usb, no wireless