Mercurial > repos > blastem
diff controller_info.h @ 1600:7f39c40b4b25
WIP UI for creating an SDL2 mapping for controllers that don't have one
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 30 Jul 2018 09:38:01 -0700 |
parents | 1fc61c844ec5 |
children | c0727712d529 |
line wrap: on
line diff
--- a/controller_info.h Fri Jul 27 22:40:56 2018 -0700 +++ b/controller_info.h Mon Jul 30 09:38:01 2018 -0700 @@ -44,5 +44,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); #endif //CONTROLLER_INFO_H_ \ No newline at end of file