Add separate sublabel for remap port controls

This commit is contained in:
sonninnos 2023-07-19 16:55:12 +03:00 committed by LibretroAdmin
parent 1056e8cbca
commit 2d66b5f863
3 changed files with 11 additions and 4 deletions

View File

@ -3200,7 +3200,7 @@ MSG_HASH(
)
MSG_HASH(
MENU_ENUM_SUBLABEL_INPUT_RETROPAD_BINDS,
"Change how the virtual retropad is mapped to a physical input device. If an input device is recognized and autoconfigured correctly, users probably do not need to use this menu.\nNote: for core-specific input changes, use the Quick Menu's 'Controls' submenu instead."
"Change how the virtual RetroPad is mapped to a physical input device. If an input device is recognized and autoconfigured correctly, users probably do not need to use this menu.\nNote: for core-specific input changes, use the Quick Menu's 'Controls' submenu instead."
)
MSG_HASH(
MENU_ENUM_LABEL_HELP_INPUT_RETROPAD_BINDS,
@ -3212,7 +3212,11 @@ MSG_HASH(
)
MSG_HASH(
MENU_ENUM_SUBLABEL_INPUT_USER_BINDS,
"Change how the virtual retropad is mapped to your physical input device for this virtual port."
"Change how the virtual RetroPad is mapped to your physical input device for this virtual port."
)
MSG_HASH(
MENU_ENUM_SUBLABEL_INPUT_USER_REMAPS,
"Change core-specific input mappings."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_ANDROID_INPUT_DISCONNECT_WORKAROUND,

View File

@ -383,8 +383,9 @@ DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_memory_update_interval, MENU_
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_statistics_show, MENU_ENUM_SUBLABEL_STATISTICS_SHOW)
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_netplay_ping_show, MENU_ENUM_SUBLABEL_NETPLAY_PING_SHOW)
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_netplay_settings, MENU_ENUM_SUBLABEL_NETPLAY)
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_retropad_settings, MENU_ENUM_SUBLABEL_INPUT_RETROPAD_BINDS)
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_retropad_settings, MENU_ENUM_SUBLABEL_INPUT_RETROPAD_BINDS)
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_user_bind_settings, MENU_ENUM_SUBLABEL_INPUT_USER_BINDS)
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_user_remap_settings, MENU_ENUM_SUBLABEL_INPUT_USER_REMAPS)
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_hotkey_settings, MENU_ENUM_SUBLABEL_INPUT_HOTKEY_BINDS)
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_enable_hotkey, MENU_ENUM_SUBLABEL_INPUT_META_ENABLE_HOTKEY)
@ -2139,7 +2140,7 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs,
if ( type >= MENU_SETTINGS_REMAPPING_PORT_BEGIN
&& type <= MENU_SETTINGS_REMAPPING_PORT_END)
{
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_user_bind_settings);
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_user_remap_settings);
return 0;
}
else if (type == MENU_SETTINGS_INPUT_LIBRETRO_DEVICE)

View File

@ -1170,6 +1170,8 @@ enum msg_hash_enums
MENU_LABEL(INPUT_MAX_USERS),
MENU_LABEL(INPUT_USER_BINDS),
MENU_ENUM_SUBLABEL_INPUT_USER_REMAPS,
MENU_LABEL(INPUT_DUTY_CYCLE),
MENU_LABEL(INPUT_AUTODETECT_ENABLE),
#if defined(HAVE_DINPUT) || defined(HAVE_WINRAWINPUT)