Commit faab4adb authored by Sam Lantinga's avatar Sam Lantinga

Fixed left/right shift detection on Windows (thanks Mike!)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40559
parent cdde594d
......@@ -82,7 +82,13 @@ LONG
break;
case VK_SHIFT:
/* EXTENDED trick doesn't work here */
if ( GetKeyState(VK_LSHIFT) & 0x8000 ) {
wParam = VK_LSHIFT;
} else if ( GetKeyState(VK_RSHIFT) & 0x8000 ) {
wParam = VK_RSHIFT;
} else {
/* Huh? */
}
break;
case VK_MENU:
if ( lParam&EXTENDED_KEYMASK )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment