This commit is contained in:
Demur Rumed 2025-04-15 20:50:37 +00:00
commit 1109222d2b
3 changed files with 7 additions and 0 deletions

View file

@ -1584,6 +1584,10 @@ void SohInputEditorWindow::DrawLinkTab() {
DrawStickSection(portIndex, Ship::RIGHT, 1, CHIP_COLOR_N64_YELLOW); DrawStickSection(portIndex, Ship::RIGHT, 1, CHIP_COLOR_N64_YELLOW);
} }
if (ImGui::CollapsingHeader("A11y")) {
}
if (ImGui::CollapsingHeader("Rumble")) { if (ImGui::CollapsingHeader("Rumble")) {
DrawRumbleSection(portIndex); DrawRumbleSection(portIndex);
} }
@ -1597,6 +1601,7 @@ void SohInputEditorWindow::DrawLinkTab() {
} }
if (ImGui::CollapsingHeader("Modifier Buttons")) { if (ImGui::CollapsingHeader("Modifier Buttons")) {
DrawButtonLine("QV", portIndex, BTN_CUSTOM_QUERYVIEW);
DrawButtonLine("M1", portIndex, BTN_CUSTOM_MODIFIER1); DrawButtonLine("M1", portIndex, BTN_CUSTOM_MODIFIER1);
DrawButtonLine("M2", portIndex, BTN_CUSTOM_MODIFIER2); DrawButtonLine("M2", portIndex, BTN_CUSTOM_MODIFIER2);

View file

@ -314,6 +314,7 @@ OTRGlobals::OTRGlobals() {
context->GetResourceManager()->SetAltAssetsEnabled(prevAltAssets); context->GetResourceManager()->SetAltAssetsEnabled(prevAltAssets);
auto controlDeck = std::make_shared<LUS::ControlDeck>(std::vector<CONTROLLERBUTTONS_T>({ auto controlDeck = std::make_shared<LUS::ControlDeck>(std::vector<CONTROLLERBUTTONS_T>({
BTN_CUSTOM_QUERYVIEW,
BTN_CUSTOM_MODIFIER1, BTN_CUSTOM_MODIFIER1,
BTN_CUSTOM_MODIFIER2, BTN_CUSTOM_MODIFIER2,
BTN_CUSTOM_OCARINA_NOTE_D4, BTN_CUSTOM_OCARINA_NOTE_D4,

View file

@ -3,6 +3,7 @@
#pragma once #pragma once
#define BTN_CUSTOM_QUERYVIEW 0x0020
#define BTN_CUSTOM_MODIFIER1 0x0040 #define BTN_CUSTOM_MODIFIER1 0x0040
#define BTN_CUSTOM_MODIFIER2 0x0080 #define BTN_CUSTOM_MODIFIER2 0x0080