mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-04-10 19:15:13 +00:00
Added 'lr' and 'ltrt' as supported 'entries' property values for the helpsystem element
This commit is contained in:
parent
a76f377a65
commit
97eff9266d
|
|
@ -822,6 +822,8 @@ void Window::setHelpPrompts(const std::vector<HelpPrompt>& prompts)
|
||||||
std::sort(addPrompts.begin(), addPrompts.end(),
|
std::sort(addPrompts.begin(), addPrompts.end(),
|
||||||
[](const HelpPrompt& a, const HelpPrompt& b) -> bool {
|
[](const HelpPrompt& a, const HelpPrompt& b) -> bool {
|
||||||
static const std::vector<std::string> map {"thumbstickclick",
|
static const std::vector<std::string> map {"thumbstickclick",
|
||||||
|
"lr",
|
||||||
|
"ltrt",
|
||||||
"up/down/left/right",
|
"up/down/left/right",
|
||||||
"up/down",
|
"up/down",
|
||||||
"up",
|
"up",
|
||||||
|
|
|
||||||
|
|
@ -55,6 +55,8 @@ private:
|
||||||
|
|
||||||
std::vector<std::string> mEntries;
|
std::vector<std::string> mEntries;
|
||||||
static inline std::vector<std::string> sAllowedEntries {"thumbstickclick",
|
static inline std::vector<std::string> sAllowedEntries {"thumbstickclick",
|
||||||
|
"lr",
|
||||||
|
"ltrt",
|
||||||
"up/down/left/right",
|
"up/down/left/right",
|
||||||
"up/down",
|
"up/down",
|
||||||
"up",
|
"up",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue