depmod
Participant
Post count: 5

Success. Thanks a lot for your help jbaker and petrockblog. I reviewed https://github.com/Aloshi/EmulationStation/issues/67 and solved it if anybody else has the same controller (http://www.amazon.com/Classic-USB-NES-Controller-PC/dp/B002YVD3KM) or similar problem:

Go ahead and run the Emulationstation wizard with keyboard while the usb controller is plugged in. It will capture the keyboard keys in es_input.cfg but it will give you your usb device name for the joypad just before </inputlist> tag. Then use the the sample below and correct your es_input.cfg which is under .emulationstation folder under home folder.

<?xml version="1.0"?>
<inputList>
<inputConfig type="joystick" deviceName="USB Gamepad ">
<input name="a" type="button" id="1" value="1"/>
<input name="b" type="button" id="0" value="1"/>
<input name="down" type="axis" id="1" value="1"/>
<input name="left" type="axis" id="0" value="-1"/>
<input name="menu" type="button" id="3" value="1"/>
<input name="right" type="axis" id="0" value="1"/>
<input name="select" type="button" id="2" value="1"/>
<input name="up" type="axis" id="1" value="-1"/>
</inputConfig>
</inputList>