Author: aandrejevic
Date: Tue May 5 00:55:56 2015
New Revision: 67551
URL:
http://svn.reactos.org/svn/reactos?rev=67551&view=rev
Log:
[NTVDM]
Send 0xE0 before each extended key scancode.
Modified:
trunk/reactos/subsystems/mvdm/ntvdm/hardware/keyboard.c
Modified: trunk/reactos/subsystems/mvdm/ntvdm/hardware/keyboard.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/ntvdm/hard…
==============================================================================
--- trunk/reactos/subsystems/mvdm/ntvdm/hardware/keyboard.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/mvdm/ntvdm/hardware/keyboard.c [iso-8859-1] Tue May 5
00:55:56 2015
@@ -38,6 +38,7 @@
/* 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);
}