mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 22:31:27 +00:00
winemac: Set the scan code prefix when necessary.
Signed-off-by: Derek Lesho <dlesho@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
bc02e8551f
commit
d5db609c4c
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue