From 1109222d2bc059cc502118c875f1ecc10a744416 Mon Sep 17 00:00:00 2001 From: Demur Rumed Date: Tue, 15 Apr 2025 20:50:37 +0000 Subject: [PATCH] wip --- soh/soh/Enhancements/controls/SohInputEditorWindow.cpp | 5 +++++ soh/soh/OTRGlobals.cpp | 1 + soh/soh/OTRGlobals.h | 1 + 3 files changed, 7 insertions(+) diff --git a/soh/soh/Enhancements/controls/SohInputEditorWindow.cpp b/soh/soh/Enhancements/controls/SohInputEditorWindow.cpp index 3f77d1ed4..341fc6255 100644 --- a/soh/soh/Enhancements/controls/SohInputEditorWindow.cpp +++ b/soh/soh/Enhancements/controls/SohInputEditorWindow.cpp @@ -1584,6 +1584,10 @@ void SohInputEditorWindow::DrawLinkTab() { DrawStickSection(portIndex, Ship::RIGHT, 1, CHIP_COLOR_N64_YELLOW); } + if (ImGui::CollapsingHeader("A11y")) { + + } + if (ImGui::CollapsingHeader("Rumble")) { DrawRumbleSection(portIndex); } @@ -1597,6 +1601,7 @@ void SohInputEditorWindow::DrawLinkTab() { } if (ImGui::CollapsingHeader("Modifier Buttons")) { + DrawButtonLine("QV", portIndex, BTN_CUSTOM_QUERYVIEW); DrawButtonLine("M1", portIndex, BTN_CUSTOM_MODIFIER1); DrawButtonLine("M2", portIndex, BTN_CUSTOM_MODIFIER2); diff --git a/soh/soh/OTRGlobals.cpp b/soh/soh/OTRGlobals.cpp index 87cb361e1..6eeee2126 100644 --- a/soh/soh/OTRGlobals.cpp +++ b/soh/soh/OTRGlobals.cpp @@ -314,6 +314,7 @@ OTRGlobals::OTRGlobals() { context->GetResourceManager()->SetAltAssetsEnabled(prevAltAssets); auto controlDeck = std::make_shared(std::vector({ + BTN_CUSTOM_QUERYVIEW, BTN_CUSTOM_MODIFIER1, BTN_CUSTOM_MODIFIER2, BTN_CUSTOM_OCARINA_NOTE_D4, diff --git a/soh/soh/OTRGlobals.h b/soh/soh/OTRGlobals.h index 6f83d78ad..96ba7b612 100644 --- a/soh/soh/OTRGlobals.h +++ b/soh/soh/OTRGlobals.h @@ -3,6 +3,7 @@ #pragma once +#define BTN_CUSTOM_QUERYVIEW 0x0020 #define BTN_CUSTOM_MODIFIER1 0x0040 #define BTN_CUSTOM_MODIFIER2 0x0080