|
#define | GENERAL_SETTING(key, configval, default_enable, default_setting, type, handle_setting) |
|
#define | SETTING_BOOL(key, configval, default_enable, default_setting, handle_setting) GENERAL_SETTING(key, configval, default_enable, default_setting, struct config_bool_setting, handle_setting) |
|
#define | SETTING_FLOAT(key, configval, default_enable, default_setting, handle_setting) GENERAL_SETTING(key, configval, default_enable, default_setting, struct config_float_setting, handle_setting) |
|
#define | SETTING_INT(key, configval, default_enable, default_setting, handle_setting) GENERAL_SETTING(key, configval, default_enable, default_setting, struct config_int_setting, handle_setting) |
|
#define | SETTING_UINT(key, configval, default_enable, default_setting, handle_setting) GENERAL_SETTING(key, configval, default_enable, default_setting, struct config_uint_setting, handle_setting) |
|
#define | SETTING_SIZE(key, configval, default_enable, default_setting, handle_setting) GENERAL_SETTING(key, configval, default_enable, default_setting, struct config_size_setting, handle_setting) |
|
#define | SETTING_PATH(key, configval, default_enable, default_setting, handle_setting) GENERAL_SETTING(key, configval, default_enable, default_setting, struct config_path_setting, handle_setting) |
|
#define | SETTING_ARRAY(key, configval, default_enable, default_setting, handle_setting) GENERAL_SETTING(key, configval, default_enable, default_setting, struct config_array_setting, handle_setting) |
|
#define | SETTING_OVERRIDE(override_setting) tmp[count-1].override = override_setting |
|
|
enum | video_driver_enum {
VIDEO_GL = 0,
VIDEO_VULKAN,
VIDEO_METAL,
VIDEO_DRM,
VIDEO_XVIDEO,
VIDEO_SDL,
VIDEO_SDL2,
VIDEO_EXT,
VIDEO_WII,
VIDEO_WIIU,
VIDEO_XENON360,
VIDEO_PSP1,
VIDEO_VITA2D,
VIDEO_PS2,
VIDEO_CTR,
VIDEO_SWITCH,
VIDEO_D3D8,
VIDEO_D3D9,
VIDEO_D3D10,
VIDEO_D3D11,
VIDEO_D3D12,
VIDEO_VG,
VIDEO_OMAP,
VIDEO_EXYNOS,
VIDEO_SUNXI,
VIDEO_DISPMANX,
VIDEO_CACA,
VIDEO_GDI,
VIDEO_VGA,
VIDEO_NULL
} |
|
enum | audio_driver_enum {
AUDIO_RSOUND = VIDEO_NULL + 1,
AUDIO_OSS,
AUDIO_ALSA,
AUDIO_ALSATHREAD,
AUDIO_TINYALSA,
AUDIO_ROAR,
AUDIO_AL,
AUDIO_SL,
AUDIO_JACK,
AUDIO_SDL,
AUDIO_SDL2,
AUDIO_XAUDIO,
AUDIO_PULSE,
AUDIO_EXT,
AUDIO_DSOUND,
AUDIO_WASAPI,
AUDIO_COREAUDIO,
AUDIO_PS3,
AUDIO_XENON360,
AUDIO_WII,
AUDIO_WIIU,
AUDIO_RWEBAUDIO,
AUDIO_PSP,
AUDIO_PS2,
AUDIO_CTR,
AUDIO_SWITCH,
AUDIO_NULL
} |
|
enum | audio_resampler_driver_enum { AUDIO_RESAMPLER_CC = AUDIO_NULL + 1,
AUDIO_RESAMPLER_SINC,
AUDIO_RESAMPLER_NEAREST,
AUDIO_RESAMPLER_NULL
} |
|
enum | input_driver_enum {
INPUT_ANDROID = AUDIO_RESAMPLER_NULL + 1,
INPUT_SDL,
INPUT_SDL2,
INPUT_X,
INPUT_WAYLAND,
INPUT_DINPUT,
INPUT_PS3,
INPUT_PSP,
INPUT_PS2,
INPUT_CTR,
INPUT_SWITCH,
INPUT_XENON360,
INPUT_WII,
INPUT_WIIU,
INPUT_XINPUT,
INPUT_UWP,
INPUT_UDEV,
INPUT_LINUXRAW,
INPUT_COCOA,
INPUT_QNX,
INPUT_RWEBINPUT,
INPUT_DOS,
INPUT_NULL
} |
|
enum | joypad_driver_enum {
JOYPAD_PS3 = INPUT_NULL + 1,
JOYPAD_XINPUT,
JOYPAD_GX,
JOYPAD_WIIU,
JOYPAD_XDK,
JOYPAD_PSP,
JOYPAD_PS2,
JOYPAD_CTR,
JOYPAD_SWITCH,
JOYPAD_DINPUT,
JOYPAD_UDEV,
JOYPAD_LINUXRAW,
JOYPAD_ANDROID,
JOYPAD_SDL,
JOYPAD_DOS,
JOYPAD_HID,
JOYPAD_QNX,
JOYPAD_RWEBPAD,
JOYPAD_MFI,
JOYPAD_NULL
} |
|
enum | camera_driver_enum {
CAMERA_V4L2 = JOYPAD_NULL + 1,
CAMERA_RWEBCAM,
CAMERA_ANDROID,
CAMERA_AVFOUNDATION,
CAMERA_NULL
} |
|
enum | wifi_driver_enum { WIFI_CONNMANCTL = CAMERA_NULL + 1,
WIFI_NULL
} |
|
enum | location_driver_enum { LOCATION_ANDROID = WIFI_NULL + 1,
LOCATION_CORELOCATION,
LOCATION_NULL
} |
|
enum | osk_driver_enum { OSK_PS3 = LOCATION_NULL + 1,
OSK_NULL
} |
|
enum | menu_driver_enum {
MENU_RGUI = OSK_NULL + 1,
MENU_XUI,
MENU_MATERIALUI,
MENU_XMB,
MENU_STRIPES,
MENU_NUKLEAR,
MENU_OZONE,
MENU_NULL
} |
|
enum | record_driver_enum { RECORD_FFMPEG = MENU_NULL + 1,
RECORD_NULL
} |
|
enum | midi_driver_enum { MIDI_WINMM = RECORD_NULL + 1,
MIDI_ALSA,
MIDI_NULL
} |
|
|
settings_t * | config_get_ptr (void) |
|
void | config_free (void) |
|
bool | config_init (void) |
|
const char * | config_get_default_audio (void) |
|
const char * | config_get_default_record (void) |
|
const char * | config_get_default_audio_resampler (void) |
|
const char * | config_get_default_video (void) |
|
const char * | config_get_default_input (void) |
|
const char * | config_get_default_joypad (void) |
|
const char * | config_get_default_camera (void) |
|
const char * | config_get_default_wifi (void) |
|
const char * | config_get_default_led (void) |
|
const char * | config_get_default_location (void) |
|
const char * | config_get_default_menu (void) |
|
const char * | config_get_default_midi (void) |
|
const char * | config_get_midi_driver_options (void) |
|
bool | config_overlay_enable_default (void) |
|
static struct config_array_setting * | populate_settings_array (settings_t *settings, int *size) |
|
static struct config_path_setting * | populate_settings_path (settings_t *settings, int *size) |
|
static struct config_bool_setting * | populate_settings_bool (settings_t *settings, int *size) |
|
static struct config_float_setting * | populate_settings_float (settings_t *settings, int *size) |
|
static struct config_uint_setting * | populate_settings_uint (settings_t *settings, int *size) |
|
static struct config_size_setting * | populate_settings_size (settings_t *settings, int *size) |
|
static struct config_int_setting * | populate_settings_int (settings_t *settings, int *size) |
|
void | config_set_defaults (void) |
|
static config_file_t * | open_default_config_file (void) |
|
static void | read_keybinds_keyboard (config_file_t *conf, unsigned user, unsigned idx, struct retro_keybind *bind) |
|
static void | read_keybinds_button (config_file_t *conf, unsigned user, unsigned idx, struct retro_keybind *bind) |
|
static void | read_keybinds_axis (config_file_t *conf, unsigned user, unsigned idx, struct retro_keybind *bind) |
|
static void | read_keybinds_mbutton (config_file_t *conf, unsigned user, unsigned idx, struct retro_keybind *bind) |
|
static void | read_keybinds_user (config_file_t *conf, unsigned user) |
|
static void | config_read_keybinds_conf (config_file_t *conf) |
|
static bool | check_shader_compatibility (enum file_path_enum enum_idx) |
|
static bool | config_load_file (const char *path, bool set_defaults, settings_t *settings) |
|
bool | config_load_override (void) |
|
bool | config_unload_override (void) |
|
bool | config_load_remap (void) |
|
bool | config_load_shader_preset (void) |
|
static void | parse_config_file (void) |
|
static void | save_keybind_key (config_file_t *conf, const char *prefix, const char *base, const struct retro_keybind *bind) |
|
static void | save_keybind_hat (config_file_t *conf, const char *key, const struct retro_keybind *bind) |
|
static void | save_keybind_joykey (config_file_t *conf, const char *prefix, const char *base, const struct retro_keybind *bind, bool save_empty) |
|
static void | save_keybind_axis (config_file_t *conf, const char *prefix, const char *base, const struct retro_keybind *bind, bool save_empty) |
|
static void | save_keybind_mbutton (config_file_t *conf, const char *prefix, const char *base, const struct retro_keybind *bind, bool save_empty) |
|
static void | save_keybind (config_file_t *conf, const char *prefix, const char *base, const struct retro_keybind *bind, bool save_kb, bool save_empty) |
|
static void | save_keybinds_user (config_file_t *conf, unsigned user) |
|
void | config_load (void) |
|
bool | config_save_autoconf_profile (const char *path, unsigned user) |
|
bool | config_save_file (const char *path) |
|
bool | config_save_overrides (int override_type) |
|
bool | config_replace (bool config_save_on_exit, char *path) |
|
config_load_override:
Tries to append game-specific and core-specific configuration. These settings will always have precedence, thus this feature can be used to enforce overrides.
This function only has an effect if a game-specific or core-specific configuration file exists at respective locations.
core-specific: $CONFIG_DIR/$CORE_NAME/$CORE_NAME.cfg fallback: $CURRENT_CFG_LOCATION/$CORE_NAME/$CORE_NAME.cfg
game-specific: $CONFIG_DIR/$CORE_NAME/$ROM_NAME.cfg fallback: $CURRENT_CFG_LOCATION/$CORE_NAME/$GAME_NAME.cfg
Returns: false if there was an error or no action was performed.
config_load_remap:
Tries to append game-specific and core-specific remap files.
This function only has an effect if a game-specific or core-specific configuration file exists at respective locations.
core-specific: $REMAP_DIR/$CORE_NAME/$CORE_NAME.cfg game-specific: $REMAP_DIR/$CORE_NAME/$GAME_NAME.cfg
Returns: false if there was an error or no action was performed.
config_load_shader_preset:
Tries to append game-specific and core-specific shader presets.
This function only has an effect if a game-specific or core-specific configuration file exists at respective locations.
core-specific: $SHADER_DIR/presets/$CORE_NAME/$CORE_NAME.cfg game-specific: $SHADER_DIR/presets/$CORE_NAME/$GAME_NAME.cfg
Returns: false if there was an error or no action was performed.