fix #75
This commit is contained in:
parent
c1c8f92fb5
commit
6c1618fcea
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user