Changeset 46932 in vbox for trunk/src/VBox/Devices/Input
- Timestamp:
- Jul 3, 2013 1:02:28 PM (12 years ago)
- Location:
- trunk/src/VBox/Devices/Input
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Input/DevPS2.cpp
r45025 r46932 705 705 PPDMIMOUSECONNECTOR pDrv = pThis->Mouse.pDrv; 706 706 bool fEnabled = !!(pThis->mouse_status & MOUSE_STATUS_ENABLED); 707 pDrv->pfnReportModes(pDrv, fEnabled, false );707 pDrv->pfnReportModes(pDrv, fEnabled, false, false); 708 708 } 709 709 -
trunk/src/VBox/Devices/Input/DrvMouseQueue.cpp
r44528 r46932 162 162 * 163 163 * @param pInterface Pointer to the mouse connector interface structure. 164 * @param fAbs The new absolute mode state. 165 */ 166 static DECLCALLBACK(void) drvMousePassThruReportModes(PPDMIMOUSECONNECTOR pInterface, bool fRel, bool fAbs) 164 * @param fRel Is relative reporting supported? 165 * @param fAbs Is absolute reporting supported? 166 * @param fMT Is multi-touch reporting supported? 167 */ 168 static DECLCALLBACK(void) drvMousePassThruReportModes(PPDMIMOUSECONNECTOR pInterface, bool fRel, bool fAbs, bool fMT) 167 169 { 168 170 PDRVMOUSEQUEUE pDrv = PPDMIMOUSECONNECTOR_2_DRVMOUSEQUEUE(pInterface); 169 pDrv->pDownConnector->pfnReportModes(pDrv->pDownConnector, fRel, fAbs );171 pDrv->pDownConnector->pfnReportModes(pDrv->pDownConnector, fRel, fAbs, fMT); 170 172 } 171 173 -
trunk/src/VBox/Devices/Input/UsbMouse.cpp
r46930 r46932 1462 1462 pThis->Lun0.pDrv->pfnReportModes(pThis->Lun0.pDrv, 1463 1463 pThis->enmMode == USBHIDMODE_RELATIVE, 1464 pThis->enmMode == USBHIDMODE_ABSOLUTE); 1464 pThis->enmMode == USBHIDMODE_ABSOLUTE, 1465 pThis->enmMode == USBHIDMODE_MULTI_TOUCH); 1465 1466 1466 1467 RTCritSectLeave(&pThis->CritSect); -
trunk/src/VBox/Devices/Input/testcase/tstUsbMouse.cpp
r46817 r46932 43 43 /** Is absolute mode currently supported? */ 44 44 bool fAbs; 45 /** Is multi-touch mode currently supported? */ 46 bool fMT; 45 47 } DRVTSTMOUSE, *PDRVTSTMOUSE; 46 48 … … 100 102 */ 101 103 static DECLCALLBACK(void) tstMouseReportModes(PPDMIMOUSECONNECTOR pInterface, 102 bool fRel, bool fAbs )104 bool fRel, bool fAbs, bool fMT) 103 105 { 104 106 PDRVTSTMOUSE pDrv = RT_FROM_MEMBER(pInterface, DRVTSTMOUSE, IConnector); 105 107 pDrv->fRel = fRel; 106 108 pDrv->fAbs = fAbs; 109 pDrv->fMT = fMT; 107 110 } 108 111
Note:
See TracChangeset
for help on using the changeset viewer.