About GnGeo-Pi and its controller setup. You can choose almost any button to activate the menu and set certain buttons on your Gamepad to be the “yes” and “no” to choose options in the menu (like Exit). This is my from my personal tips and hints text file, hope it helps:
Emulator used: GnGeo-Pi. See https://github.com/RetroPie/RetroPie-Setup/wiki/neo-geo. Once you’ve started GnGeo-Pi at least once a file called gngeorc will be created here:
For more info about the config file, see: https://github.com/ssilverm/PiMAME/blob/master/.gngeo/gngeorc.
Example, my /home/pi/.gngeo/gngeorc file:
# Meaning of the code:
# Kxxx : keyboad key number xxx
# JxByy : Joystick number x Button
# JxAyy : Joystick number x Axe yy (use a lowercase ‘a’ if you need to invert the axis)
# JxHyy : Joystick number x Hat yy
# system type? arcade or home
# ‘home’ doesn’t seem to work…
# japan, usa, europe
Config files -> Joystick configuration is vague and complex. The following config files are but a few:
 /opt/retropie/configs/nes/retroarch.cfg (EXAMPLE)
( /home/pi/.emulationstation/es_input.cfg )
Button codes -> Find the numbers for the various buttons on your particular gamepad in . File  seems to be an over ride. Example of gamepad entry fot the Nintendo NES in file  [https://github.com/RetroPie/RetroPie-Setup/wiki/RetroArch-Configuration]:
input_player1_a_btn = 0
input_player1_b_btn = 1
input_player1_y_btn = 2
input_player1_x_btn = 3
Test joystick/determine numbers of your buttons etc. [https://github.com/RetroPie/RetroPie-Setup/wiki/RetroArch-Configuration]:
Setup controller -> from command line:
and choose “Register Retroachch controller”.
- This reply was modified 1 year, 3 months ago by meneerjansen.