2 things come to mind from what you said:
You can go to: Input Settings -> Input Assignments(General) -> User Interface Then add your key to the UI Cancel(back) binding along with ESC(or you can clear it out and re-assign ESC to whatever you want it to do). Now both keys will back out of the menus, but both will exit from the emulator also.
To do what I think you really want, I think you'd essentially have to add a command into MAME's UI itself, use the already existing 1 for in-game menus only and then add an additional one for emu exit only(or the other way round). That might be a lil bit of work tho. I think Vas has done a bit of work on UI improvments in the last few versions, I'd bet that he'd be able to tell you right off what it would entail. Maybe he or another dev with more insight into the UI will chime in with an idea for you.
[ATTACHED IMAGE - CLICK FOR FULL SIZE]
Pessimist: Oh, this can't get any worse!
Optimist: Yes, it can!
|