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