diff --git a/project/jni/application/liero/AndroidAppSettings.cfg b/project/jni/application/liero/AndroidAppSettings.cfg index b8bc0aa2f..31bbd6f1d 100644 --- a/project/jni/application/liero/AndroidAppSettings.cfg +++ b/project/jni/application/liero/AndroidAppSettings.cfg @@ -28,7 +28,7 @@ DeleteFilesOnUpgrade="libsdl-DownloadFinished-0.flag" # Here you may type readme text, which will be shown during startup. Format is: # Text in English, use \\\\n to separate lines (that's four backslashes)^de:Text in Deutsch^ru:Text in Russian^button:Button that will open some URL:http://url-to-open/ -ReadmeText='This game is best played with a gamepad. Two player mode will be added later.' +ReadmeText='This game is best played with a gamepad. Two-player mode requires two gamepads.' # libSDL version to use (1.2/1.3/2.0) LibSdlVersion=1.2 @@ -226,7 +226,16 @@ TouchscreenKeysTheme=3 # Redefine gamepad keys to SDL keysyms, button order is: # A B X Y L1 R1 L2 R2 LThumb RThumb Start Select Up Down Left Right -RedefinedKeysGamepad="RETURN RSHIFT RCTRL RALT RSHIFT RALT SLASH RCTRL RETURN RETURN" +RedefinedKeysGamepad="RETURN RSHIFT RCTRL RALT RSHIFT RALT SLASH RCTRL RETURN RETURN ESCAPE ESCAPE UP DOWN LEFT RIGHT" + +# Redefine keys for the second gamepad, same as the first gamepad if not set: +RedefinedKeysSecondGamepad="TAB LALT LCTRL LSHIFT LALT LSHIFT BACKQUOTE LCTRL TAB TAB ESCAPE ESCAPE R F D G" + +# Redefine keys for the third gamepad, same as the first gamepad if not set: +RedefinedKeysThirdGamepad="" + +# Redefine keys for the fourth gamepad, same as the first gamepad if not set: +RedefinedKeysFourthGamepad="" # How long to show startup menu button, in msec, 0 to disable startup menu StartupMenuButtonTimeout=3000 @@ -245,7 +254,7 @@ FirstStartMenuOptions='SettingsMenuMisc.ShowReadme' AppMinimumRAM=0 # GCC version, or 'clang' for CLANG -NDK_TOOLCHAIN_VERSION=clang +NDK_TOOLCHAIN_VERSION= # Android platform version. # android-9 = Android 2.3, the earliest supported version. @@ -266,13 +275,13 @@ CompiledLibraries="" CustomBuildScript=n # Aditional CFLAGS for application -AppCflags='-O2 -Werror=format -include jni/application/android_debug.h' +AppCflags='-O3 -ffast-math -Werror=format -flto' # Aditional C++-specific compiler flags for application, added after AppCflags -AppCppflags='-std=c++11 -frtti -fexceptions' +AppCppflags='-O3 -ffast-math -Werror=format -flto -std=c++11 -frtti -fexceptions' # Additional LDFLAGS for application -AppLdflags='' +AppLdflags='-flto' # If application has headers with the same name as system headers, this option tries to fix compiler flags to make it compilable AppOverlapsSystemHeaders=n