summaryrefslogtreecommitdiff
path: root/controller_info.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2018-07-31 23:08:52 -0700
committerMichael Pavone <pavone@retrodev.com>2018-07-31 23:08:52 -0700
commitd6335f0431dd0b57207922bfaf26a65dcc84154b (patch)
tree5ccdbdab7b7d8d352840f01ff40dd797dccc53fd /controller_info.h
parentefc45143139312c585ff45f4d33f9c07dec2d92b (diff)
Read extral SDL2 mappings on startup from controller_types.cfg
Diffstat (limited to 'controller_info.h')
-rw-r--r--controller_info.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/controller_info.h b/controller_info.h
index 51f8891..4c29dec 100644
--- a/controller_info.h
+++ b/controller_info.h
@@ -45,5 +45,6 @@ const char *get_button_label(controller_info *info, int button);
const char *get_axis_label(controller_info *info, int axis);
void save_controller_info(int joystick, controller_info *info);
void save_controller_mapping(int joystick, char *mapping_string);
+void controller_add_mappings(void);
#endif //CONTROLLER_INFO_H_ \ No newline at end of file