Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added hotkey start & select exit #237

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

retropieuser
Copy link

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
Contributor

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

@retropieuser
Copy link
Author

retropieuser commented Mar 20, 2023

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

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