I decided to see if there were some config settings or something under xboxdrv so I ran it from the terminal, but it throws an error saying there are no Xbox controllers connected...
Even though I was just using it in ES.
I then ran jstest which looked actually does detect controller inputs... so I don't know where the issue really is... unless my controller is incompatible with xboxdrv?
I've used 2 different controllers for testing though and they don't work.
I just created the script to make things easier to install and setup Moonlight-Embedded. I have just updated this script today BTW to include a new menu based structure for an even easier solution. In regards to the controller mapping, this is now all stored in a txt file within the Moonlight program. It's called gamecontrollerdb.txt and contains the mapping for over 100 different gamepads. Here's what I could see in that file:
Not sure it will help but i noticed in the RetroPie Setup that there was a driver section from which you could install XBox and XBox360 driver. I also use a XBox 360 wired controller but on a Pi 3 model B and i didn't have to install that driver. I just know it's there so you might want to try, we never know.
Also i don't know about pre made SD images but i sometime hear people saying that some unexplained issues may occur on pre-installed systems, and would recommend users to install RetroPie manually usuing the official download.
I know this is an old topic but I was reading it just before I tried out the xboxdrv from https://github.com/zerojay/xboxdrv/ and I thought I'd just let you know... having built and tested it all you have to do is launch xboxdrv with the --chatpad option and it works perfectly.
I don't use retropie so I don't know where you need to make this change, but that is all that is required. My main annoyance with it is that I can't find a tab key... but it works well, I'm writing this post with it on my laptop.
When you load an emulator do see an error, for example I once saw this message "Microsoft X-Box 360 Pad (1118/654) not configured" when trying to play a rom on the emulator FBA.
I too asked on the forums but I was able to resolve it myself. I'm assuming we have the same control a Xbox360/PC Pad. If you go to Emulation Station and Retro Pie Config ensure you update all the main packages.