original Microsoft, me too
i don't use anymore driver xboxdrv because after installation of retropie image, xbox pad works without install it from retropie setup menu, so i think not necessary for me to go in setup menu and install package
It works !!!!!! but only when i launch ES in a terminal :-(
This is exactly what I said in my first reply. This is how it's configured the RetroPie launcher - as outlined in the docs.
Last question : does ES and Retropie need sudoers ?
If not, i should modify authorization in /opt/retropie/configs : actually all files are for root:root and not for my user "pi"
As runcommand try to write in the .cfg file, it couln't !!!
The /opt/retropie/configs shouldn't be owned by root - there's something that you maybe changed, because the RetroPie-Setup scripts ensure the folder is owned and writable by the installation users.
The sudo rights for the install user is needed for installing additional packages and for adding the necessary configurations needed for RetroPie. This is one of the first steps outlined in the installation docs.
There are some annoyances from xboxdrv: it can detect the L2 and R2 triggers as ABS stuff, but jzintv refuses to detect it, since it'd want a button behavior there instead. This severely reduces the amount of maps I can do.
You can convert your controller's analog trigger input to digital by adding:
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.
To add to this I was able to get it connected again. It worked and I tested a couple games. I restarted the Pi and it would not work. If I shut down the pi and turn it back on, then turn the controller back on it connects. If I go to config to setup Joypad order it only shows '4' xbox controllers even though only 1 is connected. I shut down a couple more times like normal and booted up and controller connected. Now I shut down and boot the system back up and controller does not connect. Just blinks. When it does connect it will show player 1.
After trying the XML files here I still have not got the wired controller working.
It does stop auto moving which makes the app and keyboard usable but I would still love to get the xbox controller working with Kodi.
I didn't mention that Kodi did not come out on the the main screen of ES even after multiple times going through the simple process.
I also didn't mention I got Kodi working and then tried to get Kodi on the main ES screen and it didn't work and Kodi stopped working with the controller, I have no idea why but even when I un do the steps taken to move Kodi it still does not work with the controller.
I have a 2nd generic Xbox 360 wireless adapter and have broken it down to just the chip inside (which is still MUCH larger than it needs to be - tons of blank board space all around). It's small enough that it should slip right into the official Raspberry Pi case with maybe even some room to spare since the Pi is tall where the 4x USB ports are, with a lot of wasted space behind it in the case.
I'm currently researching if I can hard-wire the 4x wires of the USB plug to the Pi's GPIO wires (which I don't think is possible), or how to most easily connect the wireless adapter inside the Pi's case so it looks nice and neat from the outside at least (if anybody has links to any tutorials I'm all ears!).
The problem I haven't figured out yet is how to select which player is which. I commonly have an issue where the Xbox wireless adapter steals player 1 even when it's plugged into the traditional Player 3 or Player 4 USB slot (this is when I plug in my 6-button Genesis controller for example, for some Streets of Rage action ;) and the only way to get that Genesis controller to be player 1 is to unplug the Xbox wireless adapter...which won't be possible if I hard wire it (unless I put in a switch or something). Might just snake a very short wire out of the case to a regular USB plug if it would look OK.