summaryrefslogtreecommitdiffstats
path: root/src/core/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/settings.h')
-rw-r--r--src/core/settings.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/core/settings.h b/src/core/settings.h
index dba57bd6c..4f83d285c 100644
--- a/src/core/settings.h
+++ b/src/core/settings.h
@@ -111,6 +111,19 @@ static const std::array<const char*, NumButtons> mapping = {{
}};
} // namespace NativeButton
+namespace NativeAnalog {
+enum Values {
+ CirclePad,
+ CStick,
+
+ NumAnalogs,
+};
+
+static const std::array<const char*, NumAnalogs> mapping = {{
+ "circle_pad", "c_stick",
+}};
+} // namespace NumAnalog
+
struct Values {
// CheckNew3DS
bool is_new_3ds;
@@ -120,6 +133,7 @@ struct Values {
float pad_circle_modifier_scale;
std::array<std::string, NativeButton::NumButtons> buttons;
+ std::array<std::string, NativeAnalog::NumAnalogs> analogs;
// Core
bool use_cpu_jit;