mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:26:17 +00:00
[NTVDM]
Push scancodes on to the BIOS keyboard queue even if they're not ASCII. svn path=/branches/ntvdm/; revision=60764
This commit is contained in:
parent
f5d3c9254c
commit
8800ea89d1
1 changed files with 7 additions and 3 deletions
|
@ -1115,11 +1115,15 @@ VOID BiosHandleIrq(BYTE IrqNumber, LPWORD Stack)
|
||||||
BiosKeyboardMap[VirtualKey] |= (1 << 7);
|
BiosKeyboardMap[VirtualKey] |= (1 << 7);
|
||||||
|
|
||||||
/* Find out which character this is */
|
/* Find out which character this is */
|
||||||
if (ToAscii(VirtualKey, ScanCode, BiosKeyboardMap, &Character, 0) > 0)
|
if (ToAscii(VirtualKey, ScanCode, BiosKeyboardMap, &Character, 0) == 0)
|
||||||
{
|
{
|
||||||
/* Push it onto the BIOS keyboard queue */
|
/* Not ASCII */
|
||||||
BiosKbdBufferPush((ScanCode << 8) | (Character & 0xFF));
|
Character = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Push it onto the BIOS keyboard queue */
|
||||||
|
BiosKbdBufferPush((ScanCode << 8) | (Character & 0xFF));
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue