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.
This commit is contained in:
bicarus
2026-01-13 04:19:55 -08:00
committed by GitHub
parent a0a04ab62f
commit b2cc8d404c
3 changed files with 18 additions and 0 deletions
+4
View File
@@ -107,6 +107,7 @@
#include "util/libutils.h" #include "util/libutils.h"
#include "util/logging.h" #include "util/logging.h"
#include "util/peb.h" #include "util/peb.h"
#include "util/socd_cleaner.h"
#include "util/sysutils.h" #include "util/sysutils.h"
#include "util/tapeled.h" #include "util/tapeled.h"
#include "util/time.h" #include "util/time.h"
@@ -588,6 +589,9 @@ int main_implementation(int argc, char *argv[]) {
if (options[launcher::Options::GitaDoraCabinetType].is_active()) { if (options[launcher::Options::GitaDoraCabinetType].is_active()) {
games::gitadora::CAB_TYPE = options[launcher::Options::GitaDoraCabinetType].value_uint32(); 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()) { if (options[launcher::Options::LoadNostalgiaModule].value_bool()) {
attach_nostalgia = true; attach_nostalgia = true;
} }
+13
View File
@@ -998,6 +998,19 @@ static const std::vector<OptionDefinition> OPTION_DEFINITIONS = {
{"both", "both lefty"}, {"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", .title = "Force Load Jubeat Module",
.name = "jb", .name = "jb",
+1
View File
@@ -101,6 +101,7 @@ namespace launcher {
GitaDoraTwoChannelAudio, GitaDoraTwoChannelAudio,
GitaDoraCabinetType, GitaDoraCabinetType,
GitaDoraLefty, GitaDoraLefty,
GitaDoraWailHold,
LoadJubeatModule, LoadJubeatModule,
LoadReflecBeatModule, LoadReflecBeatModule,
LoadShogikaiModule, LoadShogikaiModule,