I'm not too familiar with gamepads in EQ but if its like any other game, you need to map keys to it (like you would change a hotkey). For instance, attack is the Q key in on the keyboard, if you go to change that and say that gamepad has an A button (like an xbox 360 controller), then click the field where the Q is click the designated key on the controller.
Hopefully it helps.