MouseImpl.h revision 3357eeed76d19616f784af90f42755da2b54bc4d
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * VirtualBox COM class implementation
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * Copyright (C) 2006-2011 Oracle Corporation
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * available from http://www.virtualbox.org. This file is free software;
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * you can redistribute it and/or modify it under the terms of the GNU
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * General Public License (GPL) as published by the Free Software
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync/** Maximum number of devices supported */
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync/** Mouse driver instance data. */
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsynctypedef struct DRVMAINMOUSE DRVMAINMOUSE, *PDRVMAINMOUSE;
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync // public initializer/uninitializer for internal purposes only
return mParent;
static DECLCALLBACK(void) i_mouseReportModes(PPDMIMOUSECONNECTOR pInterface, bool fRel, bool fAbs, bool fMT);
HRESULT i_reportMultiTouchEventToDevice(uint8_t cContacts, const uint64_t *pau64Contacts, uint32_t u32ScanTime);
HRESULT i_reportAbsEventToInputDevices(int32_t x, int32_t y, int32_t dz, int32_t dw, uint32_t fButtons,
bool fUsesVMMDevEvent);
bool *pfValid);
void i_sendMouseCapsNotifications(void);
bool i_guestNeedsHostCursor(void);
bool i_vmmdevCanAbs(void);
bool i_deviceCanAbs(void);
bool i_supportsAbs(void);
bool i_supportsRel(void);
bool i_supportsMT(void);
bool fVisible;
bool fAlpha;
} mPointerData;