Skip to content

Commit

Permalink
Made the ui key insert as it is more common
Browse files Browse the repository at this point in the history
  • Loading branch information
Fr0go1 committed Oct 10, 2023
1 parent 3ab7acc commit a1ae59f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CS2_External/Cheats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ void Cheats::Menu()
ImGui::SameLine();
ImGui::Checkbox("BypassOBS", &MenuConfig::OBSBypass);

ImGui::Text("[HOME] HideMenu");
ImGui::Text("[INSERT] HideMenu");

}
ImGui::End();
Expand Down Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion CS2_External/OS-ImGui/OS-ImGui_External.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a1ae59f

Please sign in to comment.