VirtualBox

Changeset 48418 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 10, 2013 9:32:40 PM (11 years ago)
Author:
vboxsync
Message:

Updated sample for changed PDM interface.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ExtPacks/BusMouseSample/BusMouse.cpp

    r47259 r48418  
    609609
    610610/**
    611  * @interface_method_impl{PDMIMOUSEPORT, pfnPutEventMT}
    612  */
    613 static DECLCALLBACK(int) mouPutEventMT(PPDMIMOUSEPORT pInterface, uint32_t x,
    614                                        uint32_t y, uint32_t cContact,
    615                                        uint32_t fContact)
     611 * @interface_method_impl{PDMIMOUSEPORT, pfnPutEventMultiTouch}
     612 */
     613static DECLCALLBACK(int) mouPutEventMultiTouch(PPDMIMOUSEPORT pInterface, uint8_t cContacts,
     614                                               const uint64_t *pau64Contacts, uint32_t u32ScanTime)
    616615{
    617616    AssertFailedReturn(VERR_NOT_SUPPORTED);
     
    768767    pThis->pDevInsR0 = PDMDEVINS_2_R0PTR(pDevIns);
    769768    pThis->pDevInsRC = PDMDEVINS_2_RCPTR(pDevIns);
    770     pThis->Mouse.IBase.pfnQueryInterface = mouQueryMouseInterface;
    771     pThis->Mouse.IPort.pfnPutEvent       = mouPutEvent;
    772     pThis->Mouse.IPort.pfnPutEventAbs    = mouPutEventAbs;
    773     pThis->Mouse.IPort.pfnPutEventMT     = mouPutEventMT;
     769    pThis->Mouse.IBase.pfnQueryInterface     = mouQueryMouseInterface;
     770    pThis->Mouse.IPort.pfnPutEvent           = mouPutEvent;
     771    pThis->Mouse.IPort.pfnPutEventAbs        = mouPutEventAbs;
     772    pThis->Mouse.IPort.pfnPutEventMultiTouch = mouPutEventMultiTouch;
    774773
    775774    /*
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette