I bought a PC gamepad at Radio Shack that appears to be functioning in windows 7, as I tested it in its configuration window. However, I cant get it to work in Black Ops II. It has the most recent drivers. Is there a way to get this to work with this game or do I need to get an xbox controller or try to use a PS3 one?
XBox controller support is a definite, however there's no way to be sure it will work with other brands & input types. Xbox controllers support the X-Input interface type. If your controller comes with a selectable switch to alternate between direct input and x-input make sure x-input is selected.
If your game pad is direct input only or not-supported look into alternatives such as XPadder