This commit is contained in:
CallowBlack 2022-06-15 16:58:53 +03:00
parent 56520527ff
commit d0a07b0344

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);