First, does your PC recognize the controller? Do you have the controller plugged into the PC? If this is a wireless controller, do you have the Wireless Receiver connected to the PC?
Assuming all above it good, have you gone into the controls window in options and told the game to use the controller and not the keyboard?