Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

@Mode8fx

Description

@Mode8fx

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions