diff --git a/intl/msg_hash_us.h b/intl/msg_hash_us.h index 89875d6de5..c02ea09738 100644 --- a/intl/msg_hash_us.h +++ b/intl/msg_hash_us.h @@ -2076,3 +2076,7 @@ MSG_HASH( MENU_ENUM_SUBLABEL_LOCATION_ALLOW, "Allow or disallow location services access by cores." ) +MSG_HASH( + MENU_ENUM_SUBLABEL_INPUT_MAX_USERS, + "Maximum amount of users supported by RetroArch." + ) diff --git a/menu/cbs/menu_cbs_sublabel.c b/menu/cbs/menu_cbs_sublabel.c index cb61ed2684..c22c7e878c 100644 --- a/menu/cbs/menu_cbs_sublabel.c +++ b/menu/cbs/menu_cbs_sublabel.c @@ -490,6 +490,17 @@ static int action_bind_sublabel_location_allow( return 0; } +static int action_bind_sublabel_input_max_users( + file_list_t *list, + unsigned type, unsigned i, + const char *label, const char *path, + char *s, size_t len) +{ + + strlcpy(s, msg_hash_to_str(MENU_ENUM_SUBLABEL_INPUT_MAX_USERS), len); + return 0; +} + int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs, const char *path, const char *label, unsigned type, size_t idx) { @@ -502,6 +513,9 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs, { switch (cbs->enum_idx) { + case MENU_ENUM_LABEL_INPUT_MAX_USERS: + BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_max_users); + break; case MENU_ENUM_LABEL_LOCATION_ALLOW: BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_location_allow); break; diff --git a/msg_hash.h b/msg_hash.h index 34dd4da78c..25e998b493 100644 --- a/msg_hash.h +++ b/msg_hash.h @@ -451,7 +451,6 @@ enum msg_hash_enums MENU_ENUM_LABEL_INPUT_DRIVER_UDEV, MENU_ENUM_LABEL_INPUT_BIND_TIMEOUT, MENU_ENUM_LABEL_INPUT_TURBO_PERIOD, - MENU_ENUM_LABEL_INPUT_MAX_USERS, MENU_ENUM_LABEL_INPUT_REMAP_BINDS_ENABLE, MENU_ENUM_LABEL_INPUT_AXIS_THRESHOLD, MENU_ENUM_LABEL_MENU_INPUT_SWAP_OK_CANCEL, @@ -556,12 +555,16 @@ enum msg_hash_enums MENU_ENUM_LABEL_VALUE_INPUT_BIND_DEFAULT_ALL, MENU_ENUM_LABEL_VALUE_INPUT_SAVE_AUTOCONFIG, + MENU_ENUM_LABEL_INPUT_MAX_USERS, + MENU_ENUM_SUBLABEL_INPUT_MAX_USERS, + MENU_ENUM_LABEL_VALUE_INPUT_MAX_USERS, + MENU_ENUM_LABEL_VALUE_INPUT_USER_BINDS, MENU_ENUM_LABEL_VALUE_INPUT_AUTODETECT_ENABLE, MENU_ENUM_LABEL_VALUE_INPUT_DUTY_CYCLE, MENU_ENUM_LABEL_VALUE_INPUT_DESCRIPTOR_LABEL_SHOW, MENU_ENUM_LABEL_VALUE_INPUT_DESCRIPTOR_HIDE_UNBOUND, - MENU_ENUM_LABEL_VALUE_INPUT_MAX_USERS, + MENU_ENUM_LABEL_VALUE_INPUT_REMAP_BINDS_ENABLE, MENU_ENUM_LABEL_VALUE_INPUT_AXIS_THRESHOLD, MENU_ENUM_LABEL_VALUE_MENU_INPUT_SWAP_OK_CANCEL,