Commit 6da06330 authored by Derek Lesho's avatar Derek Lesho Committed by Alexandre Julliard

wineandroid: Set the scan code prefix when necessary.

parent d5db609c
......@@ -932,6 +932,11 @@ UINT CDECL ANDROID_MapVirtualKeyEx( UINT code, UINT maptype, HKL hkl )
break;
}
if (code < ARRAY_SIZE( vkey_to_scancode )) ret = vkey_to_scancode[code];
/* set scan code prefix */
if (maptype == MAPVK_VK_TO_VSC_EX &&
(code == VK_RCONTROL || code == VK_RMENU))
ret |= 0xe000;
break;
case MAPVK_VSC_TO_VK:
case MAPVK_VSC_TO_VK_EX:
......
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