TriggerB
08-11-2007 21:20:44
I'm injecting mouse input with:
and butto injection with a similar function.
A watch on arg.state.y.rel without injecting to QuickGUI reveals that it is working fine.
If I comment out my movement injection, and just do button injection it will run fine until I click, then it will break out of the window and bring me to :
in quickguimousecursor.cpp
If I comment out buttons and just do movement, it will break out to:
Everything will run fine until I do the action that im injecting.
Keyboard input works alright aswell.
Any ideas?
Thanks
bool mouseMoved( const MouseEvent &arg ) {
QuickGUI::GUIManager::getSingleton().injectMouseMove(arg.state.X.rel, arg.state.Y.rel );
return true;
}
and butto injection with a similar function.
A watch on arg.state.y.rel without injecting to QuickGUI reveals that it is working fine.
If I comment out my movement injection, and just do button injection it will run fine until I click, then it will break out of the window and bring me to :
bool MouseCursor::isVisible()
{
return mVisible;
}
in quickguimousecursor.cpp
If I comment out buttons and just do movement, it will break out to:
bool MouseCursor::mouseOnTopBorder()
{
return mOnTopBorder;
}
Everything will run fine until I do the action that im injecting.
Keyboard input works alright aswell.
Any ideas?
Thanks