I've been looking for a solution for this myself for a while. I use Bigbox on my tv through the steam link with an xbox 360 controller, and wanted an easy way to close epsxe with the controller without an external program, or losing the guide button
which I can use for the steam overlay. After doing some digging, I came up with this custom autohotkey script that you can add to the epsxe emulator in launchbox.
This will allow epsxe to be closed by holding down the start button, and pressing the back button on the 360 controller. Cheers!
Toggle = 0 ; Resets "Toggle" for first use
Joy1::
If not GetKeyState("Joy8") ; Checks to see if Joy2 is held down
Return
Gosub, SubToggle
Return
Joy2::
If not GetKeyState("Joy7") ; Checks to see if Joy1 is held down
Return
Gosub, SubToggle
Return
SubToggle:
Toggle++
Send, {Esc}
If Toggle = 1
SoundPlay, enter.wav, Wait
If Toggle = 2
{
SoundPlay, exit.wav, Wait
Toggle = 0
}
Return