2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

settings: Fix button mappings array to have correct entries.

This commit is contained in:
bunnei 2018-01-15 13:09:14 -05:00
parent 67c8b671d2
commit 8e2f62c6a5

View file

@ -79,11 +79,16 @@ static const std::array<const char*, NumButtons> mapping = {{
"button_lstick_up", "button_lstick_up",
"button_lstick_right", "button_lstick_right",
"button_lstick_down", "button_lstick_down",
"button_rstick_left",
"button_rstick_up",
"button_rstick_right",
"button_rstick_down",
"button_sl", "button_sl",
"button_sr", "button_sr",
"button_home", "button_home",
"button_screenshot", "button_screenshot",
}}; }};
} // namespace NativeButton } // namespace NativeButton
namespace NativeAnalog { namespace NativeAnalog {
@ -95,8 +100,7 @@ enum Values {
}; };
static const std::array<const char*, NumAnalogs> mapping = {{ static const std::array<const char*, NumAnalogs> mapping = {{
"lstick", "lstick", "rstick",
"rstick",
}}; }};
} // namespace NativeAnalog } // namespace NativeAnalog