This commit is contained in:
CallowBlack 2022-06-15 16:58:53 +03:00
parent c1c8f92fb5
commit 6c1618fcea

View File

@ -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<short>(wParam);