Your joypad needs to be installed in Windows first. Use the driver or the Support CD and install the joystick so that the game could properly recognize it then start the game again.
This is the proper sequence to activate your joypad: press F5 then go to Control and right click the space you want to change. Assign all your buttons this way and it should work.