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

"Close Software" button counts as an L button press #6

Open
Mode8fx opened this issue Oct 15, 2024 · 0 comments
Open

"Close Software" button counts as an L button press #6

Mode8fx opened this issue Oct 15, 2024 · 0 comments

Comments

@Mode8fx
Copy link

Mode8fx commented Oct 15, 2024

On the Home Button menu, pressing/tapping the "Close Software" button counts as an L button press that triggers before closing the software.

I found this when testing a game that allows you to change the music by pressing L/R (SuDokuL). Every time I closed the game using this specific method, I found that starting the game again would start at the previous song index. I disabled the L button by commenting out the if (event.cbutton.button == SDL_CONTROLLER_BUTTON_LEFTSHOULDER) check, and that fixed it.

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

No branches or pull requests

1 participant