diff options
| author | 2016-05-03 00:07:17 -0600 | |
|---|---|---|
| committer | 2016-11-05 02:55:41 -0600 | |
| commit | 2b1654ad9bbd8af53f22434d350704a1a1d0a285 (patch) | |
| tree | 0da3cc7a1c622c1a659f4b2a8c5c08984dabd5c3 /src/core/settings.h | |
| parent | Update CONTRIBUTING.md (diff) | |
| download | yuzu-2b1654ad9bbd8af53f22434d350704a1a1d0a285.tar.gz yuzu-2b1654ad9bbd8af53f22434d350704a1a1d0a285.tar.xz yuzu-2b1654ad9bbd8af53f22434d350704a1a1d0a285.zip | |
Support additional screen layouts.
Allows users to choose a single screen layout or a large screen layout.
Adds a configuration option to change the prominent screen.
Diffstat (limited to 'src/core/settings.h')
| -rw-r--r-- | src/core/settings.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/settings.h b/src/core/settings.h index 5a64f8018..e931953d7 100644 --- a/src/core/settings.h +++ b/src/core/settings.h | |||
| @@ -10,7 +10,15 @@ | |||
| 10 | 10 | ||
| 11 | namespace Settings { | 11 | namespace Settings { |
| 12 | 12 | ||
| 13 | enum class LayoutOption { | ||
| 14 | Default, | ||
| 15 | SingleScreen, | ||
| 16 | LargeScreen, | ||
| 17 | Custom, | ||
| 18 | }; | ||
| 19 | |||
| 13 | namespace NativeInput { | 20 | namespace NativeInput { |
| 21 | |||
| 14 | enum Values { | 22 | enum Values { |
| 15 | // directly mapped keys | 23 | // directly mapped keys |
| 16 | A, | 24 | A, |
| @@ -84,6 +92,9 @@ struct Values { | |||
| 84 | bool use_scaled_resolution; | 92 | bool use_scaled_resolution; |
| 85 | bool use_vsync; | 93 | bool use_vsync; |
| 86 | 94 | ||
| 95 | LayoutOption layout_option; | ||
| 96 | bool swap_screen; | ||
| 97 | |||
| 87 | float bg_red; | 98 | float bg_red; |
| 88 | float bg_green; | 99 | float bg_green; |
| 89 | float bg_blue; | 100 | float bg_blue; |