summaryrefslogtreecommitdiff
path: root/controller_info.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2018-07-30 09:38:01 -0700
committerMichael Pavone <pavone@retrodev.com>2018-07-30 09:38:01 -0700
commitfcb0dcce813d99f6f9b873a4b238765f33a2afd2 (patch)
treed91b05c40c2cb8f952c6ffe13ce6084c41406ee4 /controller_info.h
parent9938fca108d181de940ffc004aca78715fbce8f2 (diff)
WIP UI for creating an SDL2 mapping for controllers that don't have one
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 60ff38d..51f8891 100644
--- a/controller_info.h
+++ b/controller_info.h
@@ -44,5 +44,6 @@ controller_info get_controller_info(int index);
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);
#endif //CONTROLLER_INFO_H_ \ No newline at end of file