Hm, I got it working now, but with a different method...
void LumeriaApplication::run()
{
ShowCursor(false);
showRenderStats(true);
// This is needed to calculate time since last frame,
// and give the Active System a chance to do some calculations every frame
mRoot->addFrameListener(this);
while( !mQuit )
{
mWindow->setActive(true);
Ogre::WindowEventUtilities::messagePump();
if( !mPaused ) mRoot->renderOneFrame();
updateRenderStats();
//Need to capture/update each device
if(mKeyboard) mKeyboard->capture();
if(mMouse) mMouse->capture();
if(mJoyStick) mJoyStick->capture();
// processUnbufferedKeyInput(evt);
// processUnbufferedMouseInput(evt);
}
ShowCursor(true);
}
Basically show cursor before program runs, and hide before program terminates.
KungFooMasta