VirtualBox

Changeset 47174 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Jul 16, 2013 3:27:24 AM (12 years ago)
Author:
vboxsync
Message:

Devices/Input: most of the Main plumbing for guest multi-touch.

Location:
trunk/src/VBox/Main/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/ConsoleImpl.h

    r47106 r47174  
    269269                                   uint32_t width, uint32_t height,
    270270                                   ComSafeArrayIn(uint8_t, aShape));
    271     void onMouseCapabilityChange(BOOL supportsAbsolute, BOOL supportsRelative, BOOL needsHostCursor);
     271    void onMouseCapabilityChange(BOOL supportsAbsolute, BOOL supportsRelative,
     272                                 BOOL supportsMT, BOOL needsHostCursor);
    272273    void onStateChange(MachineState_T aMachineState);
    273274    void onAdditionsStateChange();
  • trunk/src/VBox/Main/include/MouseImpl.h

    r46937 r47174  
    5858    STDMETHOD(COMGETTER(AbsoluteSupported)) (BOOL *absoluteSupported);
    5959    STDMETHOD(COMGETTER(RelativeSupported)) (BOOL *relativeSupported);
     60    STDMETHOD(COMGETTER(MultiTouchSupported)) (BOOL *multiTouchSupported);
    6061    STDMETHOD(COMGETTER(NeedsHostCursor)) (BOOL *needsHostCursor);
    6162
     
    8485
    8586    static DECLCALLBACK(void *) drvQueryInterface(PPDMIBASE pInterface, const char *pszIID);
    86     static DECLCALLBACK(void)   mouseReportModes (PPDMIMOUSECONNECTOR pInterface, bool fRel, bool fAbs, bool);
     87    static DECLCALLBACK(void)   mouseReportModes (PPDMIMOUSECONNECTOR pInterface, bool fRel, bool fAbs, bool fMT);
    8788    static DECLCALLBACK(int)    drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uint32_t fFlags);
    8889    static DECLCALLBACK(void)   drvDestruct(PPDMDRVINS pDrvIns);
     
    9394    HRESULT reportAbsEventToMouseDev(int32_t mouseXAbs, int32_t mouseYAbs,
    9495                                 int32_t dz, int32_t dw, uint32_t fButtons);
     96    HRESULT reportMTEventToMouseDev(int32_t mouseX, int32_t mouseY,
     97                                 uint32_t cContact, bool fContact);
    9598    HRESULT reportAbsEventToVMMDev(int32_t mouseXAbs, int32_t mouseYAbs);
    9699    HRESULT reportAbsEvent(int32_t mouseXAbs, int32_t mouseYAbs,
     
    100103                              bool *pfValid);
    101104
    102     void getDeviceCaps(bool *pfAbs, bool *pfRel);
     105    void getDeviceCaps(bool *pfAbs, bool *pfRel, bool *fMT);
    103106    void sendMouseCapsNotifications(void);
    104107    bool guestNeedsHostCursor(void);
     
    107110    bool supportsAbs(void);
    108111    bool supportsRel(void);
     112    bool supportsMT(void);
    109113
    110114    Console * const         mParent;
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