I am using a wireless Xbox 360 controller. I have mapped the buttons and dpad for the snes. When I use it in a snes game the movement switches to the left analog stick and the dpad controls save states. I have also opened Nano /home/pi/pimame/config/xboxdrv_mapping.cfg The controller mapping in the .cfg file matches what I input in the controller mapping so I don't know what is going wrong. Let me know if I need to post a screen shot of any particular files. Thanks again for all the help.
Update to the update, had to map both controller 1 & 2 for piplay to save the mapping for genesis. So genius GTG. Snes still only works with analog stick no dpad. controller does not work at all with NES.
Sweet!!! That second flag nailed it man thanks a million. Genesis, NES, SNES works perfect now. I can plug the rpi2 in watch the boot up and control everything with my Xbox 360 controller. Yay! Next on the list, install an in line power switch for my rpi2. That's hardware though easy peasy. Thanks for all the help!!!!
Np thanks again. There are a lot of folks with questions on here. And here is another lol. I got player one controller to work flawless, led and everything. But I can't seem to get player 2 to go as smooth. Led won't light up to a specific location and buttons won't map either.I followed instructions on the FAQ section but I seem to be missing something.
I tried writing a second flag for the xboxdrv_mapping2.cfg file to detach the kernel as well but that didn't do anything. I placed it right below the line for the first detach kernel.
I also saw this, (link below) with both controllers on and sync'd, player 1 led lit and player 2 led all 4 still flashing. Looks like it's not initializing the driver for the second controller but my .profile script looked good to me.
I did that but both controllers mapped to player one. So I tried same thing with separate .cfg file for mapping second controller and it seems like xboxdrv is not reading the second config file.