summaryrefslogtreecommitdiff
path: root/controller_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'controller_info.c')
-rw-r--r--controller_info.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/controller_info.c b/controller_info.c
index 9fef8dd..af3469b 100644
--- a/controller_info.c
+++ b/controller_info.c
@@ -224,6 +224,15 @@ void save_controller_mapping(int joystick, char *mapping_string)
#endif
}
+void delete_controller_info(void)
+{
+ delete_custom_config_at("controller_types.cfg");
+ loaded = 0;
+ tern_free(info_config);
+ info_config = NULL;
+ render_reset_mappings();
+}
+
char const *labels_xbox[] = {
"A", "B", "X", "Y", "Back", NULL, "Start", "Click", "Click", "White", "Black", "LT", "RT"
};