diff options
| author | 2020-08-27 01:21:48 -0400 | |
|---|---|---|
| committer | 2020-09-04 12:23:25 -0400 | |
| commit | 5ce3015945e327751a053f7a5a1331a33f07819e (patch) | |
| tree | d12f57a8b573e466c2b5a18bf0a40a019782219a /src/core/frontend | |
| parent | Project Mjölnir: Part 2 - Controller Applet (diff) | |
| download | yuzu-5ce3015945e327751a053f7a5a1331a33f07819e.tar.gz yuzu-5ce3015945e327751a053f7a5a1331a33f07819e.tar.xz yuzu-5ce3015945e327751a053f7a5a1331a33f07819e.zip | |
applets/controller: Implement "Explain Text"
"Explain Text" is additional text that is shown for each player in the controller applet.
Diffstat (limited to 'src/core/frontend')
| -rw-r--r-- | src/core/frontend/applets/controller.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/frontend/applets/controller.h b/src/core/frontend/applets/controller.h index 0908f2b69..a227f15cd 100644 --- a/src/core/frontend/applets/controller.h +++ b/src/core/frontend/applets/controller.h | |||
| @@ -11,6 +11,7 @@ | |||
| 11 | namespace Core::Frontend { | 11 | namespace Core::Frontend { |
| 12 | 12 | ||
| 13 | using BorderColor = std::array<u8, 4>; | 13 | using BorderColor = std::array<u8, 4>; |
| 14 | using ExplainText = std::array<char, 0x81>; | ||
| 14 | 15 | ||
| 15 | struct ControllerParameters { | 16 | struct ControllerParameters { |
| 16 | s8 min_players{}; | 17 | s8 min_players{}; |
| @@ -19,6 +20,8 @@ struct ControllerParameters { | |||
| 19 | bool enable_single_mode{}; | 20 | bool enable_single_mode{}; |
| 20 | bool enable_border_color{}; | 21 | bool enable_border_color{}; |
| 21 | std::vector<BorderColor> border_colors{}; | 22 | std::vector<BorderColor> border_colors{}; |
| 23 | bool enable_explain_text{}; | ||
| 24 | std::vector<ExplainText> explain_text{}; | ||
| 22 | bool allow_pro_controller{}; | 25 | bool allow_pro_controller{}; |
| 23 | bool allow_handheld{}; | 26 | bool allow_handheld{}; |
| 24 | bool allow_dual_joycons{}; | 27 | bool allow_dual_joycons{}; |