A nasty patch for the zsnes Super Nintendo emulator
which allows one to quit the application by pressing
L-R-Start on one's gamepad. This is useful for set-top
applications where the only input is a joystick.
Gamepad quit patch
Logged In: YES
Thanks for the patch! I'll commit it ASAP.
Is it okay if I make this optional, some games might use
this key combination. Or how about only allow it to be
used in the GUI. Let me know what I should do.
Logged In: YES
My intent with this patch is to allow one to use zsnes using
ONLY a gamepad as input. Because of this, allowing
L-R-Start to quit only the GUI does not make sense to me.
Making it optional (and configurable in the GUI) is a good
Ideally, zsnes should present a prompt before quitting after
one presses L-R-Start, for example, "Are you sure you want
to quit? Press A if yes, Y if no" Unfortunately, my x86
assembly is not so good -- I would have trouble implementing
this myself. Anyway, if the user answered no, then the
gamepad input could be passed on to the game.
You can use the gamepad as input in the GUI. Under Misc
choose GUI Optns and check Use Joypad 1. You should be
able to navagate the GUI using the gamepad now. However
you can not get back to the GUI with the gamepad once you
are in a game. So your patch would be good here. Should I
add a seperate option or automatically enable it when Use
Joypad 1 is enabled?
I like the idea of a separate option.
Logged In: NO
where do you get gamepads?
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.