I assume my previous phrasing was too vague, so I am trying again:
My Raspberry Pi has only two slots for USB. I need to activate the controller setup menu by pressing TAB on my keyboard, which uses one USB slot. The other USB slot has my XBOX controller. But I can then only setup a single controller, since I don't have any USB ports left.
Is there a way to edit the config file of the controllers in text or does someone have a pre-setup config file? The other option I would guess is an USB HUB, but I don't want to always have the USB HUB attached to the Pi.
pressing 'button3' on any usb gamepad will open the menu as well. Xbox controllers need to be set up by first activating them on the main menu ('enable xbox controller') and then you'll also need to edit '/home/pi/pimame/config/xboxdrv_mapping.cfg'. I know that you can get 2 controllers working, I just can't remember what you need to include. If you search for xboxdrv config, you should be able to find the settings you need for 2 controllers.
Alright, I have gotten the two xbox controllers to work. There is just one more thing that I found odd, but already happened when I was only using 1 controller.
In the NES the button "B" will activate both "A" and "B". I've tried reconfiguring using the inbuilt controller setup. But each time it maps the "B" button to also press "A" at the same time.
--- Alright, so further investigation pointed out that it's just not overwriting the previous config. How do I remove the previous config so I can generate a brand new one with the controller setup menu?
It also seems I can't return to menu from the xbox controllers, but I read somewhere on the forum that this is because of the emulator and would be fixed in further updates.
Right, the nes emulator only allows for keyboard keys for escape. the config file for fceux is located in the hidden folder at /home/pi/.fceux/fceux.cfg