From de0a56ec958d7fc2f2ca49558b107c6057fdbfbd Mon Sep 17 00:00:00 2001 From: EliteMasterEric Date: Wed, 11 Jun 2025 23:11:52 -0400 Subject: [PATCH] Temporarily disable the input offsets feature until we get it fully functioning again. --- project.hxp | 7 +++++++ source/funkin/ui/options/OptionsState.hx | 2 ++ 2 files changed, 9 insertions(+) diff --git a/project.hxp b/project.hxp index 5be49cc77..cf73948ac 100644 --- a/project.hxp +++ b/project.hxp @@ -348,6 +348,12 @@ class Project extends HXProject */ static final FEATURE_GHOST_TAPPING:FeatureFlag = "FEATURE_GHOST_TAPPING"; + /** + * `-DFEATURE_INPUT_OFFSETS` + * If this flag is enabled, the input offsets menu will be available to configure your audio and visual offsets. + */ + static final FEATURE_INPUT_OFFSETS:FeatureFlag = "FEATURE_INPUT_OFFSETS"; + /** * `-DFEATURE_HAPTICS` * If this flag is enabled, the game provide haptic feedback vibrations. @@ -692,6 +698,7 @@ class Project extends HXProject EXCLUDE_ARMV7.apply(this, false); UNLOCK_EVERYTHING.apply(this, false); FEATURE_COMPRESSED_TEXTURES.apply(this, false); + FEATURE_INPUT_OFFSETS.apply(this, false); // Should be true unless explicitly requested. HARDCODED_CREDITS.apply(this, true); diff --git a/source/funkin/ui/options/OptionsState.hx b/source/funkin/ui/options/OptionsState.hx index bb2740429..bdeb678cd 100644 --- a/source/funkin/ui/options/OptionsState.hx +++ b/source/funkin/ui/options/OptionsState.hx @@ -123,6 +123,7 @@ class OptionsMenu extends Page // createItem("CONTROL SCHEMES", function() { // FlxG.state.openSubState(new ControlsSchemeMenu()); // }); + #if FEATURE_INPUT_OFFSETS createItem("INPUT OFFSETS", function() { OptionsState.rememberedSelectedIndex = items.selectedIndex; #if web @@ -131,6 +132,7 @@ class OptionsMenu extends Page FlxG.state.openSubState(new LatencyState()); #end }); + #end #if FEATURE_MOBILE_IAP createItem("RESTORE PURCHASES", function() { InAppPurchasesUtil.restorePurchases();