Fixed a possible bug in mouse detection, the code states the return is because bochs coughs on the rest of the code, but it seems to work fine now...might this be why some people have issues with mice on real hardware? will check into this later.

svn path=/trunk/; revision=5308
This commit is contained in:
Richard Campbell 2003-07-29 05:33:15 +00:00
parent 51ddb25af9
commit 0f93fcfd62

View file

@ -194,7 +194,7 @@ BOOLEAN detect_ps2_port(void)
Millisecond_Timeout.QuadPart = 1;
return TRUE; // The rest of this code fails under BOCHs
//return TRUE; // The rest of this code fails under BOCHs
/* Put the value 0x5A in the output buffer using the "WriteAuxiliary Device Output Buffer" command (0xD3).
Poll the Status Register for a while to see if the value really turns up in the Data Register. If the