Skip to content

feat: add FeatureFlags class to enable/disable features at start and runtime - #563

Merged
ShadowApex merged 1 commit into
mainfrom
shadowapex/feature-flags
Nov 7, 2026
Merged

ShadowApex merged 1 commit into
mainfrom
shadowapex/feature-flags

Conversation

@ShadowApex

Copy link
Copy Markdown
Collaborator

This change adds the new FeatureFlags class and Feature class to allow feature gating different behavior in OpenGamepadUI. Features can be turned on or off either through a command line argument, environment variable, or programmatically at runtime in a plugin or platform provider.

This change can also be used in #531 to more gracefully handle toggling features off when running things like SteamOS Manager with the OGUI overlay over Steam.

@ShadowApex
ShadowApex requested a review from pastaq October 6, 2026 02:15
@ShadowApex
ShadowApex force-pushed the shadowapex/feature-flags branch from a963ab0 to e3e2c39 Compare October 6, 2026 02:18

@pastaq pastaq left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

There are quite e few new fields in https://github.com/ShadowBlip/OpenGamepadUI/blob/e3e2c3931898ef68dd6670df193fb362e96fd592/docs/class-reference/FeatureFlags.md with the note: !!! note There is currently no description for this property. Please help us by contributing one!

Comment thread core/systems/features/feature_flags.gd Resolved
Comment thread core/systems/features/feature_flags.gd Resolved
@ShadowApex
ShadowApex force-pushed the shadowapex/feature-flags branch from e3e2c39 to 675a4c1 Compare October 13, 2026 04:12
@ShadowApex
ShadowApex requested a review from pastaq October 13, 2026 04:19
@ShadowApex
ShadowApex merged commit 85aaf40 into main Nov 7, 2026
6 checks passed
@ShadowApex
ShadowApex deleted the shadowapex/feature-flags branch November 7, 2026 18:53
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.47.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants