Mercurial > repos > blastem
comparison controller_info.h @ 1608:419a0a133b5c
Allow a gamepad mapping to apply to all controllers, controllers of a particular type (i.e.e 6-button PS4 controllers) or specific controllers (based on SDL2 GUID) in addition to the controller in a certain slot
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 03 Aug 2018 19:32:21 -0700 |
parents | c0727712d529 |
children | 84ef1eb2c96a |
comparison
equal
deleted
inserted
replaced
1607:0174759e559f | 1608:419a0a133b5c |
---|---|
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 void save_controller_mapping(int joystick, char *mapping_string); |
48 void controller_add_mappings(void); | 48 void controller_add_mappings(void); |
49 char *make_controller_type_key(controller_info *info); | |
49 | 50 |
50 #endif //CONTROLLER_INFO_H_ | 51 #endif //CONTROLLER_INFO_H_ |