From a1ae59f7b7206462ef3c38597f770ee634901214 Mon Sep 17 00:00:00 2001 From: Fr0go1 <112802612+Fr0go1@users.noreply.github.com> Date: Tue, 10 Oct 2023 16:41:36 +1000 Subject: [PATCH] Made the ui key insert as it is more common --- CS2_External/Cheats.cpp | 4 ++-- CS2_External/OS-ImGui/OS-ImGui_External.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CS2_External/Cheats.cpp b/CS2_External/Cheats.cpp index ff16f9a..b5802c3 100644 --- a/CS2_External/Cheats.cpp +++ b/CS2_External/Cheats.cpp @@ -205,7 +205,7 @@ void Cheats::Menu() ImGui::SameLine(); ImGui::Checkbox("BypassOBS", &MenuConfig::OBSBypass); - ImGui::Text("[HOME] HideMenu"); + ImGui::Text("[INSERT] HideMenu"); } ImGui::End(); @@ -243,7 +243,7 @@ void Cheats::Run() static std::chrono::time_point LastTimePoint = std::chrono::steady_clock::now(); auto CurTimePoint = std::chrono::steady_clock::now(); - if (GetAsyncKeyState(VK_HOME) + if (GetAsyncKeyState(VK_INSERT) && CurTimePoint - LastTimePoint >= std::chrono::milliseconds(150)) { // Check key state per 150ms once to avoid loop. diff --git a/CS2_External/OS-ImGui/OS-ImGui_External.cpp b/CS2_External/OS-ImGui/OS-ImGui_External.cpp index e9f8d82..88002a8 100644 --- a/CS2_External/OS-ImGui/OS-ImGui_External.cpp +++ b/CS2_External/OS-ImGui/OS-ImGui_External.cpp @@ -80,7 +80,7 @@ namespace OSImGui if (!CallBack) throw OSException("CallBack is empty"); if (WindowName.empty()) - Window.Name = "Window"; + Window.Name = "Aeonix"; Window.Name = WindowName; Window.wName = StringToWstring(Window.Name);