Skip to content

Added hotkey start & select exit - #237

Open
retropieuser wants to merge 1 commit into
snesrev:masterfrom
retropieuser:patch-1
Open

Added hotkey start & select exit#237
retropieuser wants to merge 1 commit into
snesrev:masterfrom
retropieuser:patch-1

Conversation

@retropieuser

Copy link
Copy Markdown

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

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.
@UltraHDR

Copy link
Copy Markdown
Contributor

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

@retropieuser

retropieuser commented Mar 20, 2023

Copy link
Copy Markdown
Author

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.

@gerudoga

Copy link
Copy Markdown

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants