config: rename Controls category to Input

This commit is contained in:
Hyper 2024-11-19 15:18:13 +00:00
parent 37a24b1b32
commit 8ffc7b57e4
2 changed files with 7 additions and 6 deletions

View file

@ -17,11 +17,11 @@ public:
CONFIG_DEFINE_LOCALISED("System", bool, WerehogHubTransformVideo, true);
CONFIG_DEFINE_LOCALISED("System", bool, LogoSkip, false);
CONFIG_DEFINE_LOCALISED("Controls", bool, CameraXInvert, false);
CONFIG_DEFINE_LOCALISED("Controls", bool, CameraYInvert, false);
CONFIG_DEFINE_LOCALISED("Controls", bool, XButtonHoming, true);
CONFIG_DEFINE_LOCALISED("Controls", bool, UnleashCancel, false);
CONFIG_DEFINE_LOCALISED("Controls", bool, BackgroundInput, false);
CONFIG_DEFINE_LOCALISED("Input", bool, CameraXInvert, false);
CONFIG_DEFINE_LOCALISED("Input", bool, CameraYInvert, false);
CONFIG_DEFINE_LOCALISED("Input", bool, XButtonHoming, true);
CONFIG_DEFINE_LOCALISED("Input", bool, UnleashCancel, false);
CONFIG_DEFINE_LOCALISED("Input", bool, BackgroundInput, false);
CONFIG_DEFINE_LOCALISED("Audio", float, MusicVolume, 1.0f);
CONFIG_DEFINE_LOCALISED("Audio", float, SEVolume, 1.0f);

View file

@ -247,10 +247,11 @@ static void DrawContainer(const ImVec2& min, const ImVec2& max)
drawList->PushClipRect({ min.x + gridSize * 2.0f, min.y + gridSize * 2.0f }, { max.x - gridSize * 2.0f + 1.0f, max.y - gridSize * 2.0f + 1.0f });
}
// TODO: localise this.
static constexpr const char* CATEGORIES[] =
{
"SYSTEM",
"CONTROLS",
"INPUT",
"AUDIO",
"VIDEO"
};