zelda3 icon indicating copy to clipboard operation
zelda3 copied to clipboard

Added hotkey start & select exit

Open retropieuser opened this issue 3 years ago • 3 comments

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

retropieuser avatar Mar 17 '23 16:03 retropieuser

Shouldn't this be off by default? A user might accidentally close the game

UltraHDR avatar Mar 19 '23 21:03 UltraHDR

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.

retropieuser avatar Mar 20 '23 16:03 retropieuser

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

gerudoga avatar May 12 '24 11:05 gerudoga