Changeset 26935 in vbox for trunk/src/VBox/Frontends/VBoxBFE/MouseImpl.cpp
- Timestamp:
- Mar 2, 2010 10:32:28 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxBFE/MouseImpl.cpp
r26834 r26935 583 583 584 584 /** 585 * @interface_method_impl{PDMIMOUSECONNECTOR,pfn AbsModeChange}586 */ 587 DECLCALLBACK(void) Mouse::mouse AbsModeChange(PPDMIMOUSECONNECTOR pInterface, bool fEnabled)585 * @interface_method_impl{PDMIMOUSECONNECTOR,pfnReportModes} 586 */ 587 DECLCALLBACK(void) Mouse::mouseReportModes(PPDMIMOUSECONNECTOR pInterface, bool fRel, bool fAbs) 588 588 { 589 589 PDRVMAINMOUSE pDrv = RT_FROM_MEMBER(pInterface, DRVMAINMOUSE, IConnector); 590 if (fEnabled) 590 if (fRel) 591 pDrv->pMouse->uDevCaps |= MOUSE_DEVCAP_RELATIVE; 592 else 593 pDrv->pMouse->uDevCaps &= ~MOUSE_DEVCAP_RELATIVE; 594 if (fAbs) 591 595 pDrv->pMouse->uDevCaps |= MOUSE_DEVCAP_ABSOLUTE; 592 596 else … … 656 660 pDrvIns->IBase.pfnQueryInterface = Mouse::drvQueryInterface; 657 661 658 pData->IConnector.pfn AbsModeChange = Mouse::mouseAbsModeChange;662 pData->IConnector.pfnReportModes = Mouse::mouseReportModes; 659 663 660 664 /*
Note:
See TracChangeset
for help on using the changeset viewer.