I use these lines on the very end of my retroarch.cfg for using Select”+”Start” to leave the emulators.
input_enable_hotkey_btn = "8"
input_exit_emulator_btn = "9"
The number of the buttons may be different for your “select” and “start”, if you know what they are, just use the proper button #s.