mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-22 18:15:11 +00:00
01a4c80ed5
The configuration system was quite fragile and too dependent on everything, this fix #812 . The changes: The file configuration is now entirely independent from the internal configuration state. The file configuration is versioned (current version is 1). Every configuration elements are now reactive properties that the emulator can register on to handle initialization and configuration changes. The configuration system is now in Ryujinx.Common to be accessible on every projects. Discord integration is now independent from the UI and can be reloaded. The primary controller is now configurable at runtime (NOTE: the UI currently doesn't have any options to configure real controller). The logger is entirely reloadable. You can now hotplug your controller when the emulator is running. The logger now takes name for every LogTarget to make them removable at runtime. The logger now always add the default "console" target to avoid loosing early init logs. The configuration system now generates a default file configuration if it's missing or too new. General system stability improvements to enhance the user's experience
99 lines
No EOL
2.8 KiB
JSON
99 lines
No EOL
2.8 KiB
JSON
{
|
|
"version": 1,
|
|
"graphics_shaders_dump_path": "",
|
|
"logging_enable_debug": false,
|
|
"logging_enable_stub": true,
|
|
"logging_enable_info": true,
|
|
"logging_enable_warn": true,
|
|
"logging_enable_error": true,
|
|
"logging_enable_guest": true,
|
|
"logging_enable_fs_access_log": false,
|
|
"logging_filtered_classes": [],
|
|
"enable_file_log": true,
|
|
"system_language": "AmericanEnglish",
|
|
"docked_mode": false,
|
|
"enable_discord_integration": true,
|
|
"enable_vsync": true,
|
|
"enable_multicore_scheduling": true,
|
|
"enable_fs_integrity_checks": true,
|
|
"fs_global_access_log_mode": 0,
|
|
"ignore_missing_services": false,
|
|
"controller_type": "Handheld",
|
|
"gui_columns": {
|
|
"fav_column": true,
|
|
"icon_column": true,
|
|
"app_column": true,
|
|
"dev_column": true,
|
|
"version_column": true,
|
|
"time_played_column": true,
|
|
"last_played_column": true,
|
|
"file_ext_column": true,
|
|
"file_size_column": true,
|
|
"path_column": true
|
|
},
|
|
"game_dirs": [],
|
|
"enable_custom_theme": false,
|
|
"custom_theme_path": "",
|
|
"enable_keyboard": false,
|
|
"keyboard_controls": {
|
|
"left_joycon": {
|
|
"stick_up": "W",
|
|
"stick_down": "S",
|
|
"stick_left": "A",
|
|
"stick_right": "D",
|
|
"stick_button": "F",
|
|
"dpad_up": "Up",
|
|
"dpad_down": "Down",
|
|
"dpad_left": "Left",
|
|
"dpad_right": "Right",
|
|
"button_minus": "Minus",
|
|
"button_l": "E",
|
|
"button_zl": "Q"
|
|
},
|
|
"right_joycon": {
|
|
"stick_up": "I",
|
|
"stick_down": "K",
|
|
"stick_left": "J",
|
|
"stick_right": "L",
|
|
"stick_button": "H",
|
|
"button_a": "Z",
|
|
"button_b": "X",
|
|
"button_x": "C",
|
|
"button_y": "V",
|
|
"button_plus": "Plus",
|
|
"button_r": "U",
|
|
"button_zr": "O"
|
|
},
|
|
"hotkeys": {
|
|
"toggle_vsync": "Tab"
|
|
}
|
|
},
|
|
"joystick_controls": {
|
|
"enabled": true,
|
|
"index": 0,
|
|
"deadzone": 0.05,
|
|
"trigger_threshold": 0.5,
|
|
"left_joycon": {
|
|
"stick": "Axis0",
|
|
"stick_button": "Button8",
|
|
"button_minus": "Button6",
|
|
"button_l": "Button4",
|
|
"button_zl": "Axis2",
|
|
"dpad_up": "Hat0Up",
|
|
"dpad_down": "Hat0Down",
|
|
"dpad_left": "Hat0Left",
|
|
"dpad_right": "Hat0Right"
|
|
},
|
|
"right_joycon": {
|
|
"stick": "Axis3",
|
|
"stick_button": "Button9",
|
|
"button_a": "Button1",
|
|
"button_b": "Button0",
|
|
"button_x": "Button3",
|
|
"button_y": "Button2",
|
|
"button_plus": "Button7",
|
|
"button_r": "Button5",
|
|
"button_zr": "Axis5"
|
|
}
|
|
}
|
|
} |