Browse Source

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 12 năm trước cách đây
mục cha
commit
b7ae718b64
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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