Download the latest version here:
http://www.motioninjoy.com/Once downloaded open it up and plug your ps3 controller in through the usb port
In motionjoy, click Driver Manager on the top, checkmark the box next to the "Port", then click Load Driver, wait for the process to end before continuing
Now click Profiles at the top and where it says select one mode, select Xinput-Default Xbox 360 Controller Emulator(yes i know you have a ps3 controller, but it works better for some reason)
Then below that where it says "LED" click "Custom", then click the "1" right beside it.
After that click the pink "Enable" button and the blinking on your controller should stop, signaling it has connected.
After that you can either go into Game Controller Panel to see if it's working or just jump into swbf2 and start setting your controls to what you're used to on PS2
Simply go in a game and hit ESC, then go to options-> Controller Options, and make sure it is on Jedi.
Then you have to manually place every button to what you want. (Ex. Sprint, jump, block.)
Enter/Use = Spawn Points
The Map button select is way on the bottom
You should be good to go now, good luck.