Mercurial > repos > blastem
comparison 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 |
comparison
equal
deleted
inserted
replaced
1599:1fc61c844ec5 | 1600:7f39c40b4b25 |
---|---|
42 | 42 |
43 controller_info get_controller_info(int index); | 43 controller_info get_controller_info(int index); |
44 const char *get_button_label(controller_info *info, int button); | 44 const char *get_button_label(controller_info *info, int button); |
45 const char *get_axis_label(controller_info *info, int axis); | 45 const char *get_axis_label(controller_info *info, int axis); |
46 void save_controller_info(int joystick, controller_info *info); | 46 void save_controller_info(int joystick, controller_info *info); |
47 void save_controller_mapping(int joystick, char *mapping_string); | |
47 | 48 |
48 #endif //CONTROLLER_INFO_H_ | 49 #endif //CONTROLLER_INFO_H_ |