summaryrefslogtreecommitdiffstats
path: root/src/core/settings.h
blob: 0f47002417384345d3f39c52435b257303505652 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// Copyright 2014 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.

#pragma once

#include <string>

namespace Settings {

struct Values {
    // Controls
    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_zl_key;
    int pad_zr_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;
    int pad_cup_key;
    int pad_cdown_key;
    int pad_cleft_key;
    int pad_cright_key;

    // Core
    int gpu_refresh_rate;
    int frame_skip;

    // Data Storage
    bool use_virtual_sd;

    // System Region
    int region_value;

    // Renderer
    float bg_red;
    float bg_green;
    float bg_blue;

    std::string log_filter;
} extern values;

}