Using Attract mode as a front end etc... I'm only focused / concerned with MAME As the emulator no other systems on this build. I can't use the TAB function in MAME to set an EXIT using ESC on my keyboard, it will allow me to map virtually everything else, with the exception of exiting the emulator.
I tried setting up a HOT KEY emulator exit on Attract Mode, It exits the game but yet leaves it running in the background I can still hear the sounds of the game which is a major issue as they just keep getting layered just running in the background.
The version of MAME i'm using which is MAME 2003 / libretro in conjunction with RetroArch.
I literally just want to hit ESC on my keyboard and have it exit a game in MAME & I can't even do that, any help with this ?
Also this is running on a Raspberry Pi 3b+
Please also note I can access my pi via WinSCP so If I need to modify a .cfg file or .sh etc please let me know exactly what file needs to be modified in order for ESC key press on my keyboard to exit MAME.