vbox: support absolute mouse input events

Got broken during upgrade from 4.2 to 4.3.

Fixes #1321
This commit is contained in:
Alexander Boettcher 2014-12-11 17:22:05 +01:00 committed by Christian Helmuth
parent 6d02c4c89f
commit cdaf6a502d
4 changed files with 7 additions and 13 deletions

View File

@ -1 +1 @@
1c349fbf04ac30d2cf5d5bb8fedeb71e7e09c7c5
463f5e20b98e410d23d633b4f4ce20c2eafa3cc1

View File

@ -86,8 +86,6 @@ HRESULT Console::Teleport(unsigned short*, unsigned int, unsigned short*,
unsigned int, Progress**) DUMMY(E_FAIL)
HRESULT Console::setDiskEncryptionKeys(const Utf8Str &strCfg) DUMMY(E_FAIL)
DisplayMouseInterface *Console::getDisplayMouseInterface() DUMMY(nullptr)
void Console::onMouseCapabilityChange(BOOL, BOOL, BOOL, BOOL) TRACE()
void Console::onAdditionsStateChange() TRACE()
void Console::onAdditionsOutdated() DUMMY()

View File

@ -134,12 +134,6 @@ class GenodeConsole : public Console {
_key_status[i] = 0;
_input.sigh(_receiver.manage(&_context));
/*
if (FAILED(gMouse->init(this))) {
PERR("mouse init failed");
return;
}
*/
}
void eventWait(IKeyboard * gKeyboard, IMouse * gMouse)

View File

@ -721,7 +721,7 @@
// private methods
/////////////////////////////////////////////////////////////////////////////
@@ -4388,11 +4429,15 @@
@@ -4388,6 +4429,8 @@
return rc;
}
@ -730,13 +730,15 @@
VMMDevMouseInterface *Console::getVMMDevMouseInterface()
{
return m_pVMMDev;
@@ -4398,6 +4441,8 @@
return mDisplay;
}
+#if 0
+
DisplayMouseInterface *Console::getDisplayMouseInterface()
{
return mDisplay;
/**
* Parses one key value pair.
*
@@ -6490,6 +6535,8 @@
fireMouseCapabilityChangedEvent(mEventSource, supportsAbsolute, supportsRelative, supportsMT, needsHostCursor);
}