Problem ( already ) with 0.7
Posted: Sat Sep 11, 2004 11:52 am
Edit: Wrong section, crap. If a mod sees this can you move to bug reports? Cheers.
Hey
Just downloaded the new engine and tried plugging it straight into my project. Unfortunatly, I am having some problems with mouse input. Whereas before there were no problems with these left and right mouse button catchers, they now completely ignore my inputs. None of the printf's I have put in are being displayed so it would seem it is completely ignoring any mouse input, however I can still move the mouse, the cursor still moves the selection box so I am stumped. Anyone?
Hey
Just downloaded the new engine and tried plugging it straight into my project. Unfortunatly, I am having some problems with mouse input. Whereas before there were no problems with these left and right mouse button catchers, they now completely ignore my inputs. None of the printf's I have put in are being displayed so it would seem it is completely ignoring any mouse input, however I can still move the mouse, the cursor still moves the selection box so I am stumped. Anyone?
Code: Select all
virtual bool CTactManager::OnEvent(irr::SEvent event)
{
if (event.EventType == irr::EET_MOUSE_INPUT_EVENT)
{
if ( event.MouseInput.Event == irr::EMIE_LMOUSE_PRESSED_DOWN )
{
printf("\n\nLeft mouse pressed\n\n");
lmbPressed();
return true;
}
else if ( event.MouseInput.Event == irr::EMIE_RMOUSE_PRESSED_DOWN )
{
printf("\n\nRight mouse pressed\n\n");
rmbPressed();
return true;
}
}
return false;
}