summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-09-13 02:06:13 +0200
committerarchshift <admin@archshift.com>2014-10-08 00:09:37 +0200
commite6594f9f53df456db42ab2091a7b1397070ff9c8 (patch)
treea1ca13000e379f753a155580560c20e015c2e552 /src/core
parentMerge pull request #118 from lioncash/chunk-file (diff)
downloadyuzu-e6594f9f53df456db42ab2091a7b1397070ff9c8.tar
yuzu-e6594f9f53df456db42ab2091a7b1397070ff9c8.tar.gz
yuzu-e6594f9f53df456db42ab2091a7b1397070ff9c8.tar.bz2
yuzu-e6594f9f53df456db42ab2091a7b1397070ff9c8.tar.lz
yuzu-e6594f9f53df456db42ab2091a7b1397070ff9c8.tar.xz
yuzu-e6594f9f53df456db42ab2091a7b1397070ff9c8.tar.zst
yuzu-e6594f9f53df456db42ab2091a7b1397070ff9c8.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/CMakeLists.txt2
-rw-r--r--src/core/settings.cpp11
-rw-r--r--src/core/settings.h29
3 files changed, 42 insertions, 0 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index 2b26292fd..06df9a677 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -56,6 +56,7 @@ set(SRCS
core_timing.cpp
mem_map.cpp
mem_map_funcs.cpp
+ settings.cpp
system.cpp
)
@@ -117,6 +118,7 @@ set(HEADERS
core.h
core_timing.h
mem_map.h
+ settings.h
system.h
)
diff --git a/src/core/settings.cpp b/src/core/settings.cpp
new file mode 100644
index 000000000..c486f6274
--- /dev/null
+++ b/src/core/settings.cpp
@@ -0,0 +1,11 @@
+// Copyright 2014 Citra Emulator Project
+// Licensed under GPLv2
+// Refer to the license.txt file included.
+
+#include "settings.h"
+
+namespace Settings {
+
+Values values = {};
+
+}
diff --git a/src/core/settings.h b/src/core/settings.h
new file mode 100644
index 000000000..a84c3d4b6
--- /dev/null
+++ b/src/core/settings.h
@@ -0,0 +1,29 @@
+// Copyright 2014 Citra Emulator Project
+// Licensed under GPLv2
+// Refer to the license.txt file included.
+
+#pragma once
+
+namespace Settings {
+
+struct Values {
+ int pad_a_key;
+ int pad_b_key;
+ int pad_x_key;
+ int pad_y_key;
+ int pad_l_key;
+ int pad_r_key;
+ int pad_start_key;
+ int pad_select_key;
+ int pad_home_key;
+ int pad_dup_key;
+ int pad_ddown_key;
+ int pad_dleft_key;
+ int pad_dright_key;
+ int pad_sup_key;
+ int pad_sdown_key;
+ int pad_sleft_key;
+ int pad_sright_key;
+} extern values;
+
+}