Added configuration file system.

Uses QSettings on citra-qt, and inih on citra-cli.
This commit is contained in:
archshift 2014-09-12 17:06:13 -07:00
parent ee7cfc71bd
commit e6594f9f53
26 changed files with 426 additions and 131 deletions

29
src/core/settings.h Normal file
View file

@ -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;
}