I have a logitech controller that came with a setup program called Logitech Profiler. I used that program to map put the controls. You can check the Logitech
website for downloads to see if you can get it. If not, you can try a program called 'Motionjoy'. Here
is a good thread on what keys to use where. And see Here
under 'Basic Controls' for what keys do what.
Hope that helps