From fc5ec1fbac31a78e9e73e4ae3890daeaae7c6d42 Mon Sep 17 00:00:00 2001 From: Aleksandar Andrejevic Date: Tue, 5 May 2015 00:55:56 +0000 Subject: [PATCH] [NTVDM] Send 0xE0 before each extended key scancode. svn path=/trunk/; revision=67551 --- reactos/subsystems/mvdm/ntvdm/hardware/keyboard.c | 1 + 1 file changed, 1 insertion(+) diff --git a/reactos/subsystems/mvdm/ntvdm/hardware/keyboard.c b/reactos/subsystems/mvdm/ntvdm/hardware/keyboard.c index 0516fa7985d..9fcc9f0c186 100644 --- a/reactos/subsystems/mvdm/ntvdm/hardware/keyboard.c +++ b/reactos/subsystems/mvdm/ntvdm/hardware/keyboard.c @@ -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); }