Revision: 1518
          http://rigsofrods.svn.sourceforge.net/rigsofrods/?rev=1518&view=rev
Author:   rorthomas
Date:     2010-08-18 16:49:44 +0000 (Wed, 18 Aug 2010)

Log Message:
-----------
closes #382

Modified Paths:
--------------
    trunk/source/main/InputEngine.cpp

Modified: trunk/source/main/InputEngine.cpp
===================================================================
--- trunk/source/main/InputEngine.cpp   2010-08-18 15:19:29 UTC (rev 1517)
+++ trunk/source/main/InputEngine.cpp   2010-08-18 16:49:44 UTC (rev 1518)
@@ -2279,11 +2279,11 @@
                                                }else
                                                {
                                                        
//LogManager::getSingleton().logMessage("not half: 
"+StringConverter::toString(value)+" / 
"+StringConverter::toString(deadZone(value, t.joystickAxisDeadzone)) +" / 
"+StringConverter::toString(t.joystickAxisDeadzone) );
+                                                       if 
(t.joystickAxisReverse)
+                                                               value = 1-value;
                                                        if(!pure)
                                                                // no deadzone 
when using oure value
                                                                value = 
deadZone(value, t.joystickAxisDeadzone);
-                                                       if 
(t.joystickAxisReverse)
-                                                               value = 1-value;
                                                        if(!pure)
                                                                value = 
axisLinearity(value, t.joystickAxisLinearity);
                                                }


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

Reply via email to