2014-09-13 02:06:13 +02:00
|
|
|
// Copyright 2014 Citra Emulator Project
|
2014-12-17 06:38:14 +01:00
|
|
|
// Licensed under GPLv2 or any later version
|
2014-09-13 02:06:13 +02:00
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2014-12-06 23:00:08 +01:00
|
|
|
#include <string>
|
|
|
|
|
2014-09-13 02:06:13 +02:00
|
|
|
namespace Settings {
|
|
|
|
|
|
|
|
struct Values {
|
2014-10-25 21:54:44 +02:00
|
|
|
// Controls
|
2014-09-13 02:06:13 +02:00
|
|
|
int pad_a_key;
|
|
|
|
int pad_b_key;
|
|
|
|
int pad_x_key;
|
|
|
|
int pad_y_key;
|
|
|
|
int pad_l_key;
|
|
|
|
int pad_r_key;
|
2015-02-22 00:50:16 +01:00
|
|
|
int pad_zl_key;
|
|
|
|
int pad_zr_key;
|
2014-09-13 02:06:13 +02:00
|
|
|
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;
|
2015-02-22 00:50:16 +01:00
|
|
|
int pad_cup_key;
|
|
|
|
int pad_cdown_key;
|
|
|
|
int pad_cleft_key;
|
|
|
|
int pad_cright_key;
|
2014-10-10 04:43:40 +02:00
|
|
|
|
2014-10-25 21:54:44 +02:00
|
|
|
// Core
|
2014-12-27 03:40:17 +01:00
|
|
|
int frame_skip;
|
2014-10-25 21:54:44 +02:00
|
|
|
|
|
|
|
// Data Storage
|
2014-10-10 04:43:40 +02:00
|
|
|
bool use_virtual_sd;
|
2014-10-27 22:18:28 +01:00
|
|
|
|
2015-02-01 00:11:51 +01:00
|
|
|
// System Region
|
|
|
|
int region_value;
|
|
|
|
|
2015-04-04 00:35:51 +02:00
|
|
|
// Renderer
|
2015-05-03 21:34:48 +02:00
|
|
|
bool use_hw_renderer;
|
|
|
|
|
2015-04-04 00:35:51 +02:00
|
|
|
float bg_red;
|
|
|
|
float bg_green;
|
|
|
|
float bg_blue;
|
|
|
|
|
2014-12-06 23:00:08 +01:00
|
|
|
std::string log_filter;
|
2014-09-13 02:06:13 +02:00
|
|
|
} extern values;
|
|
|
|
|
|
|
|
}
|