Changeset 95271 in vbox for trunk/src/VBox/Devices/Input/DrvMouseQueue.cpp
- Timestamp:
- Jun 14, 2022 9:52:49 AM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 151852
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Input/DrvMouseQueue.cpp
r93115 r95271 174 174 175 175 176 static DECLCALLBACK(int) drvMouseQueuePutEventM ultiTouch(PPDMIMOUSEPORT pInterface,176 static DECLCALLBACK(int) drvMouseQueuePutEventMTAbs(PPDMIMOUSEPORT pInterface, 177 177 uint8_t cContacts, 178 178 const uint64_t *pau64Contacts, … … 180 180 { 181 181 PDRVMOUSEQUEUE pThis = IMOUSEPORT_2_DRVMOUSEQUEUE(pInterface); 182 return pThis->pUpPort->pfnPutEventMultiTouch(pThis->pUpPort, cContacts, pau64Contacts, u32ScanTime); 182 return pThis->pUpPort->pfnPutEventTouchScreen(pThis->pUpPort, cContacts, pau64Contacts, u32ScanTime); 183 } 184 185 static DECLCALLBACK(int) drvMouseQueuePutEventMTRel(PPDMIMOUSEPORT pInterface, 186 uint8_t cContacts, 187 const uint64_t *pau64Contacts, 188 uint32_t u32ScanTime) 189 { 190 PDRVMOUSEQUEUE pThis = IMOUSEPORT_2_DRVMOUSEQUEUE(pInterface); 191 return pThis->pUpPort->pfnPutEventTouchPad(pThis->pUpPort, cContacts, pau64Contacts, u32ScanTime); 183 192 } 184 193 … … 195 204 * @param fRel Is relative reporting supported? 196 205 * @param fAbs Is absolute reporting supported? 197 * @param fMT Is multi-touch reporting supported? 198 */ 199 static DECLCALLBACK(void) drvMousePassThruReportModes(PPDMIMOUSECONNECTOR pInterface, bool fRel, bool fAbs, bool fMT) 206 * @param fMTAbs Is absolute multi-touch reporting supported? 207 * @param fMTRel Is relative multi-touch reporting supported? 208 */ 209 static DECLCALLBACK(void) drvMousePassThruReportModes(PPDMIMOUSECONNECTOR pInterface, bool fRel, bool fAbs, bool fMTAbs, bool fMTRel) 200 210 { 201 211 PDRVMOUSEQUEUE pDrv = PPDMIMOUSECONNECTOR_2_DRVMOUSEQUEUE(pInterface); 202 pDrv->pDownConnector->pfnReportModes(pDrv->pDownConnector, fRel, fAbs, fMT );212 pDrv->pDownConnector->pfnReportModes(pDrv->pDownConnector, fRel, fAbs, fMTAbs, fMTRel); 203 213 } 204 214 … … 351 361 pDrv->IPort.pfnPutEvent = drvMouseQueuePutEvent; 352 362 pDrv->IPort.pfnPutEventAbs = drvMouseQueuePutEventAbs; 353 pDrv->IPort.pfnPutEventMultiTouch = drvMouseQueuePutEventMultiTouch; 363 pDrv->IPort.pfnPutEventTouchScreen = drvMouseQueuePutEventMTAbs; 364 pDrv->IPort.pfnPutEventTouchPad = drvMouseQueuePutEventMTRel; 354 365 355 366 /*
Note:
See TracChangeset
for help on using the changeset viewer.