Try to test your joystick with jstest from the command line. Exit EmulationStation, then run:

jstest /dev/input/js0

and see if you buttons/controls are registering. You can exit the test by pressing Ctrl+C on the keyboard.