Left and right arrows were swapped.

This commit is contained in:
jief666 2021-09-27 10:38:45 +03:00
parent c6b08f89ba
commit e1b8bda24f

View File

@ -121,10 +121,10 @@ static int MapKeyData2AppleKey(EFI_KEY_DATA* KeyData, APPLE_KEY_CODE* pKey, UINT
*pKey = 0x7051; *pKey = 0x7051;
return 1; return 1;
case 0x03: // left arrow case 0x03: // left arrow
*pKey = 0x7050; *pKey = 0x704F;
return 1; return 1;
case 0x04: // right arrow case 0x04: // right arrow
*pKey = 0x704F; *pKey = 0x7050;
return 1; return 1;
} }
return 0; return 0;