From b475a8e9c98a979749b788014b4fb686c9d4fbb1 Mon Sep 17 00:00:00 2001 From: "iwg..om" Date: Sun, 10 Feb 2013 23:08:00 +0000 Subject: [PATCH] mouseEventsInvertX and mouseEventsInvertY settings in newly created MainActivity files and instead, show mouseEventsEnabled. Default values in AndroidHarness (false for both invertX and invertY) match Desktop mouse. git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10391 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../src/com/jme3/gde/android/AndroidSdkTool.java | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/sdk/jme3-android/src/com/jme3/gde/android/AndroidSdkTool.java b/sdk/jme3-android/src/com/jme3/gde/android/AndroidSdkTool.java index 1a772e452..7e2a5713a 100644 --- a/sdk/jme3-android/src/com/jme3/gde/android/AndroidSdkTool.java +++ b/sdk/jme3-android/src/com/jme3/gde/android/AndroidSdkTool.java @@ -78,7 +78,7 @@ public class AndroidSdkTool { /** * Returns a FileObject for the android SDK folder, null if none is specified - * @return + * @return */ public static FileObject getSdkFolder() { String path = getSdkPath(); @@ -94,7 +94,7 @@ public class AndroidSdkTool { /** * Returns a String with the path to the SDK or null if none is specified. - * @return + * @return */ public static String getSdkPath() { String path = NbPreferences.forModule(AndroidSdkTool.class).get("sdk_path", null); @@ -125,7 +125,7 @@ public class AndroidSdkTool { /** * Returns a string with the path to the android tool, specific for platform (.exe for windows) - * @return + * @return */ public static String getAndroidToolPath() { FileObject executable = null; @@ -147,7 +147,7 @@ public class AndroidSdkTool { /** * Gets a list of android targets registered in the SDK - * @return + * @return */ public static List getTargetList() { ArrayList list = new ArrayList(); @@ -420,10 +420,8 @@ public class AndroidSdkTool { + " eglConfigVerboseLogging = false;\n" + " // Choose screen orientation\n" + " screenOrientation = ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE;\n" - + " // Invert the MouseEvents X (default = true)\n" - + " mouseEventsInvertX = true;\n" - + " // Invert the MouseEvents Y (default = true)\n" - + " mouseEventsInvertY = true;\n" + + " // Enable MouseEvents being generated from TouchEvents (default = true)\n" + + " mouseEventsEnabled = true;\n" + " }\n" + " \n" + "}\n";