소스 검색

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 년 전
부모
커밋
b7ae718b64
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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