Added hotkey start & select exit
Added a start & select hotkey that stops the main loop and closes the game. The start & select exit is the standard function for users on RetroPie, Lakka and Batocera. It also allows the game to be played and closed without a keyboard.
Description
Will this Pull Request break anything?
Suggested Testing Steps
Shouldn't this be off by default? A user might accidentally close the game
I guess it's possible. But it's the standard exiting functionality of a lot of SBC emulation type machines (Start & Select) and Retroarch. Can't think of many games that require you to mash start and select together offhand.
I want to run the game on a device that has no other means of exiting the game. So, I re-worked your idea into my fork https://github.com/gerudoga/zelda3
I also added a settting to the config ini to enable/disable it. As @UltraHDR suggested, the default is off.
Your case, @retropieuser, would be achieved via:
# Allows to quit the game by pressing start and select buttons together
GamepadQuit = 1