forked from moonpower/azahar-UWP
android: Added portrait-specific config values for custom layouts
This commit is contained in:
committed by
OpenSauce04
parent
f8e9e459fe
commit
6cb61c8ff7
@@ -189,6 +189,18 @@ void Config::ReadValues() {
|
||||
ReadSetting("Layout", Settings::values.cardboard_x_shift);
|
||||
ReadSetting("Layout", Settings::values.cardboard_y_shift);
|
||||
|
||||
#ifdef ANDROID
|
||||
ReadSetting("Layout", Settings::values.custom_portrait_layout);
|
||||
ReadSetting("Layout", Settings::values.custom_portrait_top_left);
|
||||
ReadSetting("Layout", Settings::values.custom_portrait_top_top);
|
||||
ReadSetting("Layout", Settings::values.custom_portrait_top_right);
|
||||
ReadSetting("Layout", Settings::values.custom_portrait_top_bottom);
|
||||
ReadSetting("Layout", Settings::values.custom_portrait_bottom_left);
|
||||
ReadSetting("Layout", Settings::values.custom_portrait_bottom_top);
|
||||
ReadSetting("Layout", Settings::values.custom_portrait_bottom_right);
|
||||
ReadSetting("Layout", Settings::values.custom_portrait_bottom_bottom);
|
||||
#endif
|
||||
|
||||
// Utility
|
||||
ReadSetting("Utility", Settings::values.dump_textures);
|
||||
ReadSetting("Utility", Settings::values.custom_textures);
|
||||
|
||||
@@ -188,6 +188,7 @@ delay_game_render_thread_us =
|
||||
layout_option =
|
||||
|
||||
# Toggle custom layout (using the settings below) on or off.
|
||||
# Only applies to landscape on Android
|
||||
# 0 (default): Off, 1: On
|
||||
custom_layout =
|
||||
|
||||
@@ -202,6 +203,22 @@ custom_bottom_y =
|
||||
custom_bottom_width =
|
||||
custom_bottom_height =
|
||||
|
||||
# Custom Layout Options for Android Portrait Mode
|
||||
# Toggle custom layout (using the settings below) on or off.
|
||||
# 0 (default): Off, 1: On
|
||||
custom_portrait_layout =
|
||||
|
||||
# Screen placement when using Custom layout option
|
||||
# 0x, 0y is the top left corner of the render window.
|
||||
custom_portrait_top_left =
|
||||
custom_portrait_top_top =
|
||||
custom_portrait_top_right =
|
||||
custom_portrait_top_bottom =
|
||||
custom_portrait_bottom_left =
|
||||
custom_portrait_bottom_top =
|
||||
custom_portrait_bottom_right =
|
||||
custom_portrait_bottom_bottom =
|
||||
|
||||
# Swaps the prominent screen with the other screen.
|
||||
# For example, if Single Screen is chosen, setting this to 1 will display the bottom screen instead of the top screen.
|
||||
# 0 (default): Top Screen is prominent, 1: Bottom Screen is prominent
|
||||
|
||||
Reference in New Issue
Block a user