Revision: 1513
http://rigsofrods.svn.sourceforge.net/rigsofrods/?rev=1513&view=rev
Author: aperion
Date: 2010-08-17 02:38:17 +0000 (Tue, 17 Aug 2010)
Log Message:
-----------
Fixes slow mouse movement in linux, does not seam to effect any other modes or
OSs.
Modified Paths:
--------------
trunk/source/main/gui_inputmanager.cpp
Modified: trunk/source/main/gui_inputmanager.cpp
===================================================================
--- trunk/source/main/gui_inputmanager.cpp 2010-08-13 15:40:21 UTC (rev
1512)
+++ trunk/source/main/gui_inputmanager.cpp 2010-08-17 02:38:17 UTC (rev
1513)
@@ -103,9 +103,8 @@
bool GUIInputManager::mouseMoved(const OIS::MouseEvent& _arg)
{
- mCursorX += _arg.state.X.rel;
- mCursorY += _arg.state.Y.rel;
-
+ mCursorX = _arg.state.X.abs;
+ mCursorY = _arg.state.Y.abs;
checkPosition();
injectMouseMove(mCursorX, mCursorY, _arg.state.Z.abs);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Rigsofrods-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rigsofrods-devel