Changeset 50998 in vbox for trunk/src/VBox/Devices/Input
- Timestamp:
- Apr 8, 2014 1:51:37 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 93184
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Input/PS2M.cpp
r50806 r50998 450 450 ps2mSetRate(pThis, 100); 451 451 452 /* Accumulatorsand button status bits are cleared. */452 /* Event queue, eccumulators, and button status bits are cleared. */ 453 453 ps2kClearQueue((GeneriQ *)&pThis->evtQ); 454 //@todo accumulators/current state454 pThis->iAccumX = pThis->iAccumY = pThis->iAccumZ = pThis->fAccumB = 0; 455 455 } 456 456 … … 507 507 508 508 if (pThis->enmMode == AUX_MODE_RESET) 509 {510 509 /* In reset mode, do not respond at all. */ 511 510 return VINF_SUCCESS; 512 } 513 else if (pThis->enmMode == AUX_MODE_WRAP) 511 512 /* If there's anything left in the command response queue, trash it. */ 513 ps2kClearQueue((GeneriQ *)&pThis->cmdQ); 514 515 if (pThis->enmMode == AUX_MODE_WRAP) 514 516 { 515 517 /* In wrap mode, bounce most data right back.*/ … … 859 861 860 862 #if 1 861 /* Report the event and the throttle timer unless it's already running. */863 /* Report the event and start the throttle timer unless it's already running. */ 862 864 if (!pThis->fThrottleActive) 863 865 {
Note:
See TracChangeset
for help on using the changeset viewer.