@@ -105,7 +105,7 @@ func _on_input_type_changed(input_type: int):
105
105
n_input_tab .current_tab = input_type
106
106
107
107
func _on_hide ():
108
- RetroHubConfig .save_config ()
108
+ RetroHubConfig ._save_config ()
109
109
110
110
111
111
func _on_StartLayout_pressed ():
@@ -117,7 +117,7 @@ func _on_ClearLayout_pressed():
117
117
if splits .size () > 1 :
118
118
Input .remove_joy_mapping (splits [0 ])
119
119
RetroHubConfig .config .custom_input_remap = ""
120
- RetroHubConfig .save_config ()
120
+ RetroHubConfig ._save_config ()
121
121
n_cn_clear_layout .disabled = true
122
122
123
123
@@ -143,7 +143,7 @@ func _on_KeyboardRemap_key_remapped(key, old_code, new_code):
143
143
keymap [_key ].erase (new_code )
144
144
keymap [_key ].push_back (old_code )
145
145
RetroHubConfig .config .mark_for_saving ()
146
- RetroHubConfig .save_config ()
146
+ RetroHubConfig ._save_config ()
147
147
148
148
func _on_CN_pressed (input_key ):
149
149
var button := get_viewport ().gui_get_focus_owner ()
@@ -167,7 +167,7 @@ func _on_ControllerButtonRemap_remap_done(key, old_button, new_button):
167
167
if not old_button in map [_key ]:
168
168
map [_key ].push_back (old_button )
169
169
RetroHubConfig .config .mark_for_saving ()
170
- RetroHubConfig .save_config ()
170
+ RetroHubConfig ._save_config ()
171
171
172
172
func _on_CNAxis_pressed (axis ):
173
173
var button := get_viewport ().gui_get_focus_owner ()
@@ -179,7 +179,7 @@ func _on_ControllerAxisRemap_remap_done(action, old_axis, new_axis):
179
179
var is_main : bool = action == "rh_left"
180
180
RetroHubConfig .config .input_controller_main_axis = new_axis if is_main else old_axis
181
181
RetroHubConfig .config .input_controller_secondary_axis = old_axis if is_main else new_axis
182
- RetroHubConfig .save_config ()
182
+ RetroHubConfig ._save_config ()
183
183
184
184
185
185
func _on_CNIconType_item_selected (index ):
@@ -224,14 +224,14 @@ func _on_CNDelay_value_changed(value):
224
224
225
225
func _on_KBReset_pressed ():
226
226
RetroHubConfig .config .input_key_map = ConfigData .default_input_key_map ()
227
- RetroHubConfig .save_config ()
227
+ RetroHubConfig ._save_config ()
228
228
229
229
230
230
func _on_CNReset_pressed ():
231
231
RetroHubConfig .config .input_controller_map = ConfigData .default_input_controller_map ()
232
232
RetroHubConfig .config .input_controller_main_axis = "left"
233
233
RetroHubConfig .config .input_controller_secondary_axis = "right"
234
- RetroHubConfig .save_config ()
234
+ RetroHubConfig ._save_config ()
235
235
236
236
237
237
func _on_VirtualKeyboardLayout_item_selected (index ):
0 commit comments