mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-01 22:30:42 -07:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -998,6 +998,19 @@ static const std::vector<OptionDefinition> 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",
|
||||
|
||||
@@ -101,6 +101,7 @@ namespace launcher {
|
||||
GitaDoraTwoChannelAudio,
|
||||
GitaDoraCabinetType,
|
||||
GitaDoraLefty,
|
||||
GitaDoraWailHold,
|
||||
LoadJubeatModule,
|
||||
LoadReflecBeatModule,
|
||||
LoadShogikaiModule,
|
||||
|
||||
Reference in New Issue
Block a user