Page 1 of 1

Esc key to exit emulator

Posted: Sat Aug 04, 2018 11:15 pm
by foowish
Hi All,

Im trying to get SNES9X to exit when i press the ESC key. I see that the esc key toggle the menu bar

I've also tried configuring hotkey in config file and GUI but no success

I've also read this can be done in a module

Any ideas how i can do this?

Im running 1.56.2

Thanks

Re: Esc key to exit emulator

Posted: Mon Aug 06, 2018 3:30 am
by DAOWAce
Trying to replicate RetroArch behavior?

I think this would cause more issues than not with accidental exit, but anyway..

Edit the snes9x.conf file.

Code: Select all

Key:QuitS9X           = Unassigned
It can't seem to be rebound to Escape, as that appears hardcoded to minimize the menu bar. Other keys should work though.

Re: Esc key to exit emulator

Posted: Mon Aug 06, 2018 11:52 am
by OV2
That's not possible at the moment - ESC cannot be bound to a anything.

Re: Esc key to exit emulator

Posted: Tue Aug 07, 2018 4:32 pm
by foowish
Hi all,

Thanks for the responses. I've got round the issue by creating a autohotkey script that binds alt+f4 to escape

I've also set hidemenu bar in the config file then made the config file read only as I was finding it changes

Re: Esc key to exit emulator

Posted: Thu Aug 13, 2020 9:21 pm
by starfiretbt
I see this post is old but I have an issue that's similar, I want the Esc key to NOT close snes9x. My input configuration has the number pad key's 1,3,7, and 9 for dn left, dn right, up left, and up right; but sometimes I need to switch those controls the the second controller and not the first. The instructions say the esc key should disable those key inputs because when I'm not using the number pad I'm using a joystick which can already go in diagonals and don't need those inputs. However whenever I use the esc key to try and disable those buttons for the first controller it shuts down the emulator.
Was this part of a window's 10 update that esc closes programs?