Commit d5db609c authored by Derek Lesho's avatar Derek Lesho Committed by Alexandre Julliard

winemac: Set the scan code prefix when necessary.

parent bc02e855
......@@ -1392,6 +1392,11 @@ UINT CDECL macdrv_MapVirtualKeyEx(UINT wCode, UINT wMapType, HKL hkl)
break;
}
}
/* set scan code prefix */
if (wMapType == MAPVK_VK_TO_VSC_EX &&
(wCode == VK_RCONTROL || wCode == VK_RMENU))
ret |= 0xe000;
break;
case MAPVK_VSC_TO_VK: /* scan-code to vkey-code */
......
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