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

InputCommon: Fix ControlGroup::SaveConfig with DefaultValue::Disabled #11606

Merged

Conversation

JosJuice
Copy link
Member

@JosJuice JosJuice commented Feb 26, 2023

I also changed LoadConfig, but that change doesn't affect correctness, it's only so it looks neat by matching SaveConfig.

This bug was added in PR #8729, the PR that introduced DefaultValue::Disabled. The bug can't actually be triggered in master, but it can be triggered in PR #11385.

@JosJuice JosJuice mentioned this pull request Feb 26, 2023
10 tasks
@JosJuice JosJuice changed the title InputCommon: Fix ControlGroup::SaveConfig with DefaultEnabled::Disabled InputCommon: Fix ControlGroup::SaveConfig with DefaultValue::Disabled Feb 26, 2023
I also changed LoadConfig, but that change doesn't affect correctness,
it's only so it looks neat by matching SaveConfig.

This bug was added in 18a4afb, the
commit that introduced DefaultValue::Disabled. The bug can't actually be
triggered in master, but it can be triggered in the Android input
overhaul PR.
Copy link
Contributor

@AdmiralCurtiss AdmiralCurtiss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, untested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants