ivanmen
04-03-2008 05:20:08
I have installed the version of Mogre 1.4.6 and i use this code for mouse handling (from the wiki of MQuickGUI example):
inputMouse.Capture();
MOIS.MouseState_NativePtr mouseState = inputMouse.MouseState;
MQuickGUI.GUIManager.Singleton.injectTime(evt.timeSinceLastFrame);
MQuickGUI.GUIManager.Singleton.injectMousePosition(mouseState.X.abs, mouseState.Y.abs); // Mouse cursor movement.
the problem is that the mouseState.X.abs and mouseState.Y.abs only gives me "50" units as maximum, and the mouse does not move more than 50 units.
how I can do so that the mouse moves more along the X and Y axis?
thanks in advance.
inputMouse.Capture();
MOIS.MouseState_NativePtr mouseState = inputMouse.MouseState;
MQuickGUI.GUIManager.Singleton.injectTime(evt.timeSinceLastFrame);
MQuickGUI.GUIManager.Singleton.injectMousePosition(mouseState.X.abs, mouseState.Y.abs); // Mouse cursor movement.
the problem is that the mouseState.X.abs and mouseState.Y.abs only gives me "50" units as maximum, and the mouse does not move more than 50 units.
how I can do so that the mouse moves more along the X and Y axis?
thanks in advance.