applets/controller: Implement "Explain Text"
"Explain Text" is additional text that is shown for each player in the controller applet.
This commit is contained in:
parent
5219615418
commit
5ce3015945
6 changed files with 304 additions and 25 deletions
|
@ -11,6 +11,7 @@
|
|||
namespace Core::Frontend {
|
||||
|
||||
using BorderColor = std::array<u8, 4>;
|
||||
using ExplainText = std::array<char, 0x81>;
|
||||
|
||||
struct ControllerParameters {
|
||||
s8 min_players{};
|
||||
|
@ -19,6 +20,8 @@ struct ControllerParameters {
|
|||
bool enable_single_mode{};
|
||||
bool enable_border_color{};
|
||||
std::vector<BorderColor> border_colors{};
|
||||
bool enable_explain_text{};
|
||||
std::vector<ExplainText> explain_text{};
|
||||
bool allow_pro_controller{};
|
||||
bool allow_handheld{};
|
||||
bool allow_dual_joycons{};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue