diff --git a/intl/msg_hash_us.h b/intl/msg_hash_us.h index 8b0f36082a..c3fd496e36 100644 --- a/intl/msg_hash_us.h +++ b/intl/msg_hash_us.h @@ -2523,3 +2523,43 @@ MSG_HASH( MENU_ENUM_SUBLABEL_PAUSE_LIBRETRO, "If disabled, the content will keep running in the background when we are in the menu." ) +MSG_HASH( + MENU_ENUM_SUBLABEL_VIDEO_DRIVER, + "Video driver to use." + ) +MSG_HASH( + MENU_ENUM_SUBLABEL_AUDIO_DRIVER, + "Audio driver to use." + ) +MSG_HASH( + MENU_ENUM_SUBLABEL_INPUT_DRIVER, + "Input driver to use. Depending on the video driver, it might force a different input driver." + ) +MSG_HASH( + MENU_ENUM_SUBLABEL_JOYPAD_DRIVER, + "Joypad driver to use." + ) +MSG_HASH( + MENU_ENUM_SUBLABEL_AUDIO_RESAMPLER_DRIVER, + "Audio resampler driver to use." + ) +MSG_HASH( + MENU_ENUM_SUBLABEL_CAMERA_DRIVER, + "Camera driver to use." + ) +MSG_HASH( + MENU_ENUM_SUBLABEL_LOCATION_DRIVER, + "Location driver to use." + ) +MSG_HASH( + MENU_ENUM_SUBLABEL_MENU_DRIVER, + "Menu driver to use." + ) +MSG_HASH( + MENU_ENUM_SUBLABEL_RECORD_DRIVER, + "Record driver to use." + ) +MSG_HASH( + MENU_ENUM_SUBLABEL_WIFI_DRIVER, + "WiFi driver to use." + ) diff --git a/menu/cbs/menu_cbs_sublabel.c b/menu/cbs/menu_cbs_sublabel.c index 93b908ab47..8face933f5 100644 --- a/menu/cbs/menu_cbs_sublabel.c +++ b/menu/cbs/menu_cbs_sublabel.c @@ -164,6 +164,16 @@ default_sublabel_macro(action_bind_sublabel_input_remap_binds_enable, MENU_ default_sublabel_macro(action_bind_sublabel_input_autodetect_enable, MENU_ENUM_SUBLABEL_INPUT_AUTODETECT_ENABLE) default_sublabel_macro(action_bind_sublabel_input_swap_ok_cancel, MENU_ENUM_SUBLABEL_MENU_INPUT_SWAP_OK_CANCEL) default_sublabel_macro(action_bind_sublabel_pause_libretro, MENU_ENUM_SUBLABEL_PAUSE_LIBRETRO) +default_sublabel_macro(action_bind_sublabel_video_driver, MENU_ENUM_SUBLABEL_VIDEO_DRIVER) +default_sublabel_macro(action_bind_sublabel_audio_driver, MENU_ENUM_SUBLABEL_AUDIO_DRIVER) +default_sublabel_macro(action_bind_sublabel_input_driver, MENU_ENUM_SUBLABEL_INPUT_DRIVER) +default_sublabel_macro(action_bind_sublabel_joypad_driver, MENU_ENUM_SUBLABEL_JOYPAD_DRIVER) +default_sublabel_macro(action_bind_sublabel_audio_resampler_driver, MENU_ENUM_SUBLABEL_AUDIO_RESAMPLER_DRIVER) +default_sublabel_macro(action_bind_sublabel_camera_driver, MENU_ENUM_SUBLABEL_CAMERA_DRIVER) +default_sublabel_macro(action_bind_sublabel_location_driver, MENU_ENUM_SUBLABEL_LOCATION_DRIVER) +default_sublabel_macro(action_bind_sublabel_menu_driver, MENU_ENUM_SUBLABEL_MENU_DRIVER) +default_sublabel_macro(action_bind_sublabel_record_driver, MENU_ENUM_SUBLABEL_RECORD_DRIVER) +default_sublabel_macro(action_bind_sublabel_wifi_driver, MENU_ENUM_SUBLABEL_WIFI_DRIVER) static int action_bind_sublabel_cheevos_entry( file_list_t *list, @@ -225,6 +235,36 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs, { switch (cbs->enum_idx) { + case MENU_ENUM_LABEL_WIFI_DRIVER: + BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_wifi_driver); + break; + case MENU_ENUM_LABEL_RECORD_DRIVER: + BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_record_driver); + break; + case MENU_ENUM_LABEL_MENU_DRIVER: + BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_menu_driver); + break; + case MENU_ENUM_LABEL_LOCATION_DRIVER: + BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_location_driver); + break; + case MENU_ENUM_LABEL_CAMERA_DRIVER: + BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_camera_driver); + break; + case MENU_ENUM_LABEL_AUDIO_RESAMPLER_DRIVER: + BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_audio_resampler_driver); + break; + case MENU_ENUM_LABEL_JOYPAD_DRIVER: + BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_joypad_driver); + break; + case MENU_ENUM_LABEL_INPUT_DRIVER: + BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_driver); + break; + case MENU_ENUM_LABEL_AUDIO_DRIVER: + BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_audio_driver); + break; + case MENU_ENUM_LABEL_VIDEO_DRIVER: + BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_video_driver); + break; case MENU_ENUM_LABEL_PAUSE_LIBRETRO: BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_pause_libretro); break; diff --git a/retroarch.cfg b/retroarch.cfg index f68f26240e..714948d669 100644 --- a/retroarch.cfg +++ b/retroarch.cfg @@ -339,7 +339,7 @@ # Input driver. Depending on video driver, it might force a different input driver. # input_driver = sdl -# Input device driver. (Valid: linuxraw, sdl, dinput) +# Joypad driver. (Valid: linuxraw, sdl, dinput) # input_joypad_driver = # Path to input remapping file.