diff --git a/cheat-base/src/cheat-base/render/renderer.cpp b/cheat-base/src/cheat-base/render/renderer.cpp index 183ce23..d7fdf26 100644 --- a/cheat-base/src/cheat-base/render/renderer.cpp +++ b/cheat-base/src/cheat-base/render/renderer.cpp @@ -207,7 +207,7 @@ namespace renderer key = VK_MBUTTON; break; case WM_XBUTTONUP: - key = GET_XBUTTON_WPARAM(wParam); + key = GET_XBUTTON_WPARAM(wParam) == XBUTTON1 ? VK_XBUTTON1 : VK_XBUTTON2; break; case WM_KEYUP: key = static_cast(wParam);