Browse Source

settings: Fix button mappings array to have correct entries.

nce_cpp
bunnei 8 years ago
parent
commit
5ee2436934
  1. 8
      src/core/settings.h

8
src/core/settings.h

@ -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",
"rstick",
"lstick", "rstick",
}}; }};
} // namespace NativeAnalog } // namespace NativeAnalog

Loading…
Cancel
Save