summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-01-15 13:09:14 -0500
committerbunnei <bunneidev@gmail.com>2018-01-15 13:09:14 -0500
commit8e2f62c6a59f12be521b46c347f7efd8bf6a025d (patch)
treead59a1303181fc9cb8b5c474349980f115b05874 /src
parent67c8b671d251e774f8d761c8ef22b3544b25465c (diff)
settings: Fix button mappings array to have correct entries.
Diffstat (limited to 'src')
-rw-r--r--src/core/settings.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/core/settings.h b/src/core/settings.h
index bd9a3d9fe..56fb189ae 100644
--- a/src/core/settings.h
+++ b/src/core/settings.h
@@ -79,11 +79,16 @@ static const std::array<const char*, NumButtons> mapping = {{
"button_lstick_up",
"button_lstick_right",
"button_lstick_down",
+ "button_rstick_left",
+ "button_rstick_up",
+ "button_rstick_right",
+ "button_rstick_down",
"button_sl",
"button_sr",
"button_home",
"button_screenshot",
}};
+
} // namespace NativeButton
namespace NativeAnalog {
@@ -95,8 +100,7 @@ enum Values {
};
static const std::array<const char*, NumAnalogs> mapping = {{
- "lstick",
- "rstick",
+ "lstick", "rstick",
}};
} // namespace NativeAnalog