If this hasn't already been answered...
Check out this page on linuxquestions.org: http://www.linuxquestions.org/questions/showthread.php?t=336910
Basically you have to run the -inputcfg like this:
fceu -inputcfg gamepad1 somegame.nes
using a real .nes rom file as well. Hope this helps.
Mike

