Mercurial > repos > blastem
diff 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 |
line wrap: on
line diff
--- a/controller_info.h Thu Aug 02 19:06:57 2018 -0700 +++ b/controller_info.h Fri Aug 03 19:32:21 2018 -0700 @@ -46,5 +46,6 @@ void save_controller_info(int joystick, controller_info *info); void save_controller_mapping(int joystick, char *mapping_string); void controller_add_mappings(void); +char *make_controller_type_key(controller_info *info); #endif //CONTROLLER_INFO_H_ \ No newline at end of file