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
3.0
iwg..om 12 years ago
parent 30c2bb665e
commit b7ae718b64
  1. 4
      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

Loading…
Cancel
Save