summaryrefslogtreecommitdiff
path: root/controller_info.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2018-08-03 19:32:21 -0700
committerMichael Pavone <pavone@retrodev.com>2018-08-03 19:32:21 -0700
commit9a48ad9033ec167dd8eafa8e3e9e8173b1acf363 (patch)
tree4fde12f82a2661b23979c1f17aa889321d9b7a7a /controller_info.h
parent242137754a79f868401e2f6695ed3a6db3a94327 (diff)
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
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 4c29dec..a5b55b3 100644
--- a/controller_info.h
+++ b/controller_info.h
@@ -46,5 +46,6 @@ 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);
void controller_add_mappings(void);
+char *make_controller_type_key(controller_info *info);
#endif //CONTROLLER_INFO_H_ \ No newline at end of file