mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Corrects ext bit from the keyboard. This bit, once set, was never unset,
so both alt keys acted as Alt+Gr. svn path=/trunk/; revision=6636
This commit is contained in:
parent
9208747968
commit
3145ec42fb
1 changed files with 2 additions and 1 deletions
|
@ -559,6 +559,7 @@ KeyboardHandler(PKINTERRUPT Interrupt,
|
|||
if (extKey)
|
||||
{
|
||||
rec[KeysRead].dwControlKeyState|=ENHANCED_KEY;
|
||||
extKey = 0;
|
||||
}
|
||||
KeysRead++;
|
||||
DPRINT("KeysRequired %d KeysRead %x\n",KeysRequired,KeysRead);
|
||||
|
@ -586,7 +587,7 @@ KeyboardHandler(PKINTERRUPT Interrupt,
|
|||
// kbdBuffer[bufHead].uChar.AsciiChar=TranslateScanCode(thisKey);
|
||||
kbdBuffer[bufHead].uChar.AsciiChar=VirtualToAscii(kbdBuffer[bufHead].wVirtualKeyCode,isDown);
|
||||
kbdBuffer[bufHead].dwControlKeyState=ctrlKeyState;
|
||||
if (extKey)
|
||||
if (extKey)
|
||||
kbdBuffer[bufHead].dwControlKeyState|=ENHANCED_KEY;
|
||||
bufHead++;
|
||||
bufHead&=KBD_WRAP_MASK; // Modulo KBD_BUFFER_SIZE
|
||||
|
|
Loading…
Reference in a new issue