Send 0xE0 before each extended key scancode.


svn path=/trunk/; revision=67551
This commit is contained in:
Aleksandar Andrejevic 2015-05-05 00:55:56 +00:00
parent cd87007594
commit fc5ec1fbac

View file

@ -38,6 +38,7 @@ VOID KeyboardEventHandler(PKEY_EVENT_RECORD KeyEvent)
/* Push the scan code into the PS/2 queue */
for (i = 0; i < KeyEvent->wRepeatCount; i++)
{
if (KeyEvent->dwControlKeyState & ENHANCED_KEY) PS2QueuePush(PS2Port, 0xE0);
PS2QueuePush(PS2Port, ScanCode);
}