mirror of
https://github.com/reactos/reactos.git
synced 2025-07-29 11:52:49 +00:00
[NTVDM]
We don't support any PS/2 keyboard command for now. Just return ACKnowledge. This unblocks some programs that want to initialize the keyboard by sending keyboard commands and then performing polling on the port until "valid" data comes out. (unblocks e.g. DOS Mugen game, amongst others...). svn path=/trunk/; revision=68415
This commit is contained in:
parent
dc52a69141
commit
7d277c43a9
1 changed files with 7 additions and 1 deletions
|
@ -22,7 +22,13 @@ static BYTE PS2Port = 0;
|
|||
|
||||
static VOID WINAPI KeyboardCommand(LPVOID Param, BYTE Command)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
// FIXME: UNIMPLEMENTED; just return ACKnowledge.
|
||||
// This unblocks some programs that want to initialize
|
||||
// the keyboard by sending keyboard commands and then
|
||||
// performing polling on the port until "valid" data
|
||||
// comes out.
|
||||
DPRINT1("KeyboardCommand(0x%02X) NOT IMPLEMENTED\n", Command);
|
||||
PS2QueuePush(PS2Port, 0xFA);
|
||||
}
|
||||
|
||||
/* PUBLIC FUNCTIONS ***********************************************************/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue