Changeset 48358 in vbox
- Timestamp:
- Sep 6, 2013 2:14:32 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Input/PS2M.cpp
r48214 r48358 523 523 //LogRel(("aux: cmd=0x%02X, active cmd=0x%02X\n", cmd, pThis->u8CurrCmd)); 524 524 525 if (pThis->enmMode == AUX_MODE_RESET) 526 { 527 /* In reset mode, do not respond at all. */ 528 return VINF_SUCCESS; 529 } 530 else if (pThis->enmMode == AUX_MODE_WRAP) 531 { 532 /* In wrap mode, bounce most data right back.*/ 533 if (cmd == ACMD_RESET || cmd == ACMD_RESET_WRAP) 534 ; /* Handle as regular commands. */ 535 else 536 { 537 ps2kInsertQueue((GeneriQ *)&pThis->cmdQ, cmd); 538 return VINF_SUCCESS; 539 } 540 } 541 525 542 switch (cmd) 526 543 {
Note:
See TracChangeset
for help on using the changeset viewer.