aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/settings.h
diff options
context:
space:
mode:
authorGravatar archshift <admin@archshift.com>2014-09-12 17:06:13 -0700
committerGravatar archshift <admin@archshift.com>2014-10-07 15:09:37 -0700
commite6594f9f53df456db42ab2091a7b1397070ff9c8 (patch)
treea1ca13000e379f753a155580560c20e015c2e552 /src/core/settings.h
parentee7cfc71bd8663b77a43c5ba577074972d9b7ad9 (diff)
Added configuration file system.
Uses QSettings on citra-qt, and inih on citra-cli.
Diffstat (limited to 'src/core/settings.h')
-rw-r--r--src/core/settings.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/core/settings.h b/src/core/settings.h
new file mode 100644
index 00000000..a84c3d4b
--- /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;
+
+}