diff --git a/intl/msg_hash_us.h b/intl/msg_hash_us.h index 6426415033..6754c7e2de 100644 --- a/intl/msg_hash_us.h +++ b/intl/msg_hash_us.h @@ -2635,3 +2635,23 @@ MSG_HASH( MENU_ENUM_SUBLABEL_STDIN_CMD_ENABLE, "Enable stdin command interface." ) +MSG_HASH( + MENU_ENUM_SUBLABEL_MOUSE_ENABLE, + "Enable mouse controls inside the menu." + ) +MSG_HASH( + MENU_ENUM_SUBLABEL_POINTER_ENABLE, + "Enable touch controls inside the menu." + ) +MSG_HASH( + MENU_ENUM_SUBLABEL_THUMBNAILS, + "Type of thumbnail to display." + ) +MSG_HASH( + MENU_ENUM_SUBLABEL_TIMEDATE_ENABLE, + "Shows current date and/or time inside the menu." + ) +MSG_HASH( + MENU_ENUM_SUBLABEL_BATTERY_LEVEL_ENABLE, + "Shows current battery level inside the menu." + ) diff --git a/menu/cbs/menu_cbs_sublabel.c b/menu/cbs/menu_cbs_sublabel.c index 600da42fb6..2e514c2344 100644 --- a/menu/cbs/menu_cbs_sublabel.c +++ b/menu/cbs/menu_cbs_sublabel.c @@ -192,6 +192,11 @@ default_sublabel_macro(action_bind_sublabel_netplay_stateless_mode, MENU_ default_sublabel_macro(action_bind_sublabel_netplay_check_frames, MENU_ENUM_SUBLABEL_NETPLAY_CHECK_FRAMES) default_sublabel_macro(action_bind_sublabel_netplay_nat_traversal, MENU_ENUM_SUBLABEL_NETPLAY_NAT_TRAVERSAL) default_sublabel_macro(action_bind_sublabel_stdin_cmd_enable, MENU_ENUM_SUBLABEL_STDIN_CMD_ENABLE) +default_sublabel_macro(action_bind_sublabel_mouse_enable, MENU_ENUM_SUBLABEL_MOUSE_ENABLE) +default_sublabel_macro(action_bind_sublabel_pointer_enable, MENU_ENUM_SUBLABEL_POINTER_ENABLE) +default_sublabel_macro(action_bind_sublabel_thumbnails, MENU_ENUM_SUBLABEL_THUMBNAILS) +default_sublabel_macro(action_bind_sublabel_timedate_enable, MENU_ENUM_SUBLABEL_TIMEDATE_ENABLE) +default_sublabel_macro(action_bind_sublabel_battery_level_enable, MENU_ENUM_SUBLABEL_BATTERY_LEVEL_ENABLE) static int action_bind_sublabel_cheevos_entry( file_list_t *list, @@ -253,6 +258,21 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs, { switch (cbs->enum_idx) { + case MENU_ENUM_LABEL_BATTERY_LEVEL_ENABLE: + BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_battery_level_enable); + break; + case MENU_ENUM_LABEL_TIMEDATE_ENABLE: + BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_timedate_enable); + break; + case MENU_ENUM_LABEL_THUMBNAILS: + BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_thumbnails); + break; + case MENU_ENUM_LABEL_MOUSE_ENABLE: + BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_mouse_enable); + break; + case MENU_ENUM_LABEL_POINTER_ENABLE: + BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_pointer_enable); + break; case MENU_ENUM_LABEL_STDIN_CMD_ENABLE: BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_stdin_cmd_enable); break;