Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Features/PerformanceOverlay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ void PerformanceOverlay::DrawSettings()
ImGui::Text("Opens performance overlay in a separate window that stays open\neven when the main menu is closed. ");
ImGui::Text("Toggle with ");
ImGui::SameLine();
ImGui::TextColored(themeSettings.StatusPalette.CurrentHotkey, "%s", Menu::KeyIdToString(menuSettings.OverlayToggleKey));
ImGui::TextColored(themeSettings.StatusPalette.CurrentHotkey, "%s", Util::Input::KeyIdToString(menuSettings.OverlayToggleKey));
}

if (this->settings.ShowInOverlay) {
Expand Down
5 changes: 2 additions & 3 deletions src/Features/VR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1711,7 +1711,6 @@ void VR::ProcessVRButtonEvent(const Menu::KeyEvent& event)

ImGuiIO& io = ImGui::GetIO();
(void)event;
auto menu = globals::menu;
bool isPrimary = RE::BSOpenVRControllerDevice::IsPrimaryController(event.device);
bool isSecondary = RE::BSOpenVRControllerDevice::IsSecondaryController(event.device);
bool& testMode = settings.VRMenuControllerDiagnosticsTestMode;
Expand All @@ -1726,8 +1725,8 @@ void VR::ProcessVRButtonEvent(const Menu::KeyEvent& event)
{ RE::BSOpenVRControllerDevice::Keys::kGrip, ImGuiMouseButton_Right, false, ImGuiKey_None, false },
{ RE::BSOpenVRControllerDevice::Keys::kTouchpadClick, ImGuiMouseButton_Middle, false, ImGuiKey_None, false },
{ RE::BSOpenVRControllerDevice::Keys::kJoystickTrigger, ImGuiMouseButton_Middle, false, ImGuiKey_None, false },
{ RE::BSOpenVRControllerDevice::Keys::kBY, -1, true, menu->VirtualKeyToImGuiKey(VK_TAB), isSecondary }, // Shift+Tab for secondary
{ RE::BSOpenVRControllerDevice::Keys::kXA, -1, true, menu->VirtualKeyToImGuiKey(VK_RETURN), false },
{ RE::BSOpenVRControllerDevice::Keys::kBY, -1, true, Util::Input::VirtualKeyToImGuiKey(VK_TAB), isSecondary }, // Shift+Tab for secondary
{ RE::BSOpenVRControllerDevice::Keys::kXA, -1, true, Util::Input::VirtualKeyToImGuiKey(VK_RETURN), false },
};

// Use separate state arrays for each controller
Expand Down
3 changes: 2 additions & 1 deletion src/Features/WeatherPicker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include "Feature.h"
#include "Menu.h"
#include "Utils/Game.h"
#include "Utils/UI.h"
#include <nlohmann/json.hpp>

NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT(
Expand Down Expand Up @@ -46,7 +47,7 @@ void WeatherPicker::DrawSettings()
ImGui::Text("Opens weather details in a separate window that stays open\neven when the main menu is closed. ");
ImGui::Text("Toggle with ");
ImGui::SameLine();
ImGui::TextColored(themeSettings.StatusPalette.CurrentHotkey, "%s", Menu::KeyIdToString(menuSettings.OverlayToggleKey));
ImGui::TextColored(themeSettings.StatusPalette.CurrentHotkey, "%s", Util::Input::KeyIdToString(menuSettings.OverlayToggleKey));
}
ImGui::Spacing();

Expand Down
Loading