mirror of
https://github.com/glfw/glfw.git
synced 2026-09-18 22:55:46 +00:00
Win32 fixes.
This commit is contained in:
+1
-1
@@ -182,7 +182,7 @@ static int translateKey(WPARAM wParam, LPARAM lParam)
|
||||
// order to determine which shift key was pressed (left or
|
||||
// right)
|
||||
const DWORD scancode = MapVirtualKey(VK_RSHIFT, 0);
|
||||
if (((lParam & 0x01ff0000) >> 16) == scancode)
|
||||
if ((DWORD) ((lParam & 0x01ff0000) >> 16) == scancode)
|
||||
return GLFW_KEY_RIGHT_SHIFT;
|
||||
|
||||
return GLFW_KEY_LEFT_SHIFT;
|
||||
|
||||
Reference in New Issue
Block a user