What controller is it and how are you connecting it to your computer? These would be important details. What happens when you go to the controller config and hit the dropdown?

In game if you go to system settings then gamepad, is "enable gamepad" selected? From the dropdown next to that do you have your gamepad selected? What verison of windows are you using? Did you go into control panels and devices to see if your controller is there?