Explorar el Código

Correct default value for invert mouse events. By default, raw touch events have the same coordinate origin as Desktop mouse events (lower left corner). The default for mouseEventsInvertX and mouseEventsInvertY should be false to match Desktop mouse.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10390 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
iwg..om hace 12 años
padre
commit
b7ae718b64
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      engine/src/android/com/jme3/app/AndroidHarness.java

+ 2 - 2
engine/src/android/com/jme3/app/AndroidHarness.java

@@ -80,12 +80,12 @@ public class AndroidHarness extends Activity implements TouchListener, DialogInt
     /**
      * Flip X axis
      */
-    protected boolean mouseEventsInvertX = true;
+    protected boolean mouseEventsInvertX = false;
 
     /**
      * Flip Y axis
      */
-    protected boolean mouseEventsInvertY = true;
+    protected boolean mouseEventsInvertY = false;
 
     /**
      * if true finish this activity when the jme app is stopped