From 172bcbbf47467384a55061427586142b395763f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Sat, 23 Feb 2019 17:17:40 +0100 Subject: [PATCH] Android: Default screen rotation to auto landscape for new users. Fixes #11832 --- Core/Config.cpp | 2 +- Core/ConfigValues.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Core/Config.cpp b/Core/Config.cpp index 9ae911e268..845d82e081 100644 --- a/Core/Config.cpp +++ b/Core/Config.cpp @@ -431,7 +431,7 @@ static ConfigSetting generalSettings[] = { ConfigSetting("RemoteDebuggerOnStartup", &g_Config.bRemoteDebuggerOnStartup, false), #ifdef __ANDROID__ - ConfigSetting("ScreenRotation", &g_Config.iScreenRotation, ROTATION_LOCKED_HORIZONTAL), + ConfigSetting("ScreenRotation", &g_Config.iScreenRotation, ROTATION_AUTO_HORIZONTAL), #endif ConfigSetting("InternalScreenRotation", &g_Config.iInternalScreenRotation, ROTATION_LOCKED_HORIZONTAL), diff --git a/Core/ConfigValues.h b/Core/ConfigValues.h index e714fa9b0c..73e5063de3 100644 --- a/Core/ConfigValues.h +++ b/Core/ConfigValues.h @@ -37,6 +37,7 @@ enum { ROTATION_LOCKED_VERTICAL = 2, ROTATION_LOCKED_HORIZONTAL180 = 3, ROTATION_LOCKED_VERTICAL180 = 4, + ROTATION_AUTO_HORIZONTAL = 5, }; enum BufferFilter {