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; key = VK_MBUTTON;
break; break;
case WM_XBUTTONUP: case WM_XBUTTONUP:
key = GET_XBUTTON_WPARAM(wParam); key = GET_XBUTTON_WPARAM(wParam) == XBUTTON1 ? VK_XBUTTON1 : VK_XBUTTON2;
break; break;
case WM_KEYUP: case WM_KEYUP:
key = static_cast<short>(wParam); key = static_cast<short>(wParam);