From b2cc8d404ce246edef544abbb56ddc9d50d6bf9d Mon Sep 17 00:00:00 2001 From: bicarus <202771338+bicarus-dev@users.noreply.github.com> Date: Tue, 13 Jan 2026 04:19:55 -0800 Subject: [PATCH] gitadora: digital wailing sensitivity (#516) ## Link to GitHub Issue, if one exists #512 ## Description of change Add an option to adjust the hold period for digital wailing. --- src/spice2x/launcher/launcher.cpp | 4 ++++ src/spice2x/launcher/options.cpp | 13 +++++++++++++ src/spice2x/launcher/options.h | 1 + 3 files changed, 18 insertions(+) diff --git a/src/spice2x/launcher/launcher.cpp b/src/spice2x/launcher/launcher.cpp index 325dd69..fea9b24 100644 --- a/src/spice2x/launcher/launcher.cpp +++ b/src/spice2x/launcher/launcher.cpp @@ -107,6 +107,7 @@ #include "util/libutils.h" #include "util/logging.h" #include "util/peb.h" +#include "util/socd_cleaner.h" #include "util/sysutils.h" #include "util/tapeled.h" #include "util/time.h" @@ -588,6 +589,9 @@ int main_implementation(int argc, char *argv[]) { if (options[launcher::Options::GitaDoraCabinetType].is_active()) { games::gitadora::CAB_TYPE = options[launcher::Options::GitaDoraCabinetType].value_uint32(); } + if (options[launcher::Options::GitaDoraWailHold].is_active()) { + socd::TILT_HOLD_MS = options[launcher::Options::GitaDoraWailHold].value_uint32(); + } if (options[launcher::Options::LoadNostalgiaModule].value_bool()) { attach_nostalgia = true; } diff --git a/src/spice2x/launcher/options.cpp b/src/spice2x/launcher/options.cpp index 1b43386..81c7dff 100644 --- a/src/spice2x/launcher/options.cpp +++ b/src/spice2x/launcher/options.cpp @@ -998,6 +998,19 @@ static const std::vector OPTION_DEFINITIONS = { {"both", "both lefty"}, }, }, + { + // GitaDoraWailHold + .title = "GitaDora Digital Wail Hold", + .name = "gdwailhold", + .desc = "For digital wail input, how long (in milliseconds) to hold the wail state. Practically, this controls " + "how sensitive wailing is.\n\n" + "Default: 100 (ms)\n\n" + "If set to 0, no hold will occur, which means you need to press the wail button longer to register; " + "default value of 100ms will cause the game to trigger wail even on a light tap of the button", + .type = OptionType::Integer, + .game_name = "GitaDora", + .category = "Game Options", + }, { .title = "Force Load Jubeat Module", .name = "jb", diff --git a/src/spice2x/launcher/options.h b/src/spice2x/launcher/options.h index 3ce7218..dceb464 100644 --- a/src/spice2x/launcher/options.h +++ b/src/spice2x/launcher/options.h @@ -101,6 +101,7 @@ namespace launcher { GitaDoraTwoChannelAudio, GitaDoraCabinetType, GitaDoraLefty, + GitaDoraWailHold, LoadJubeatModule, LoadReflecBeatModule, LoadShogikaiModule,