mirror of
https://github.com/reactos/reactos.git
synced 2024-10-03 16:05:37 +00:00
[NTVDM]
Send 0xE0 before each extended key scancode. svn path=/trunk/; revision=67551
This commit is contained in:
parent
cd87007594
commit
fc5ec1fbac
|
@ -38,6 +38,7 @@ VOID KeyboardEventHandler(PKEY_EVENT_RECORD KeyEvent)
|
||||||
/* Push the scan code into the PS/2 queue */
|
/* Push the scan code into the PS/2 queue */
|
||||||
for (i = 0; i < KeyEvent->wRepeatCount; i++)
|
for (i = 0; i < KeyEvent->wRepeatCount; i++)
|
||||||
{
|
{
|
||||||
|
if (KeyEvent->dwControlKeyState & ENHANCED_KEY) PS2QueuePush(PS2Port, 0xE0);
|
||||||
PS2QueuePush(PS2Port, ScanCode);
|
PS2QueuePush(PS2Port, ScanCode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue