Add help messages

This commit is contained in:
twinaphex 2016-07-25 04:51:47 +02:00
parent f841c139d8
commit ea1ace36c4
2 changed files with 130 additions and 18 deletions

View File

@ -30,6 +30,42 @@ int menu_hash_get_help_us_enum(enum msg_hash_enums msg, char *s, size_t len)
switch (msg)
{
case MENU_ENUM_LABEL_INPUT_POLL_TYPE_BEHAVIOR:
snprintf(s, len,
"Influence how input polling is done inside \n"
"RetroArch. \n"
" \n"
"Early - Input polling is performed before \n"
"the frame is processed. \n"
"Normal - Input polling is performed when \n"
"polling is requested. \n"
"Late - Input polling is performed on \n"
"first input state request per frame.\n"
" \n"
"Setting it to 'Early' or 'Late' can result \n"
"in less latency, \n"
"depending on your configuration.\n\n"
"When netplay is enabled, the default polling \n"
"behavior (Normal) will be used, \n"
"regardless of the value set here."
);
break;
case MENU_ENUM_LABEL_INPUT_DESCRIPTOR_HIDE_UNBOUND:
snprintf(s, len,
"Hide input descriptors that were not set \n"
"by the core.");
break;
case MENU_ENUM_LABEL_VIDEO_REFRESH_RATE:
snprintf(s, len,
"Video refresh rate of your monitor. \n"
"Used to calculate a suitable audio input rate.");
break;
case MENU_ENUM_LABEL_VIDEO_FORCE_SRGB_DISABLE:
snprintf(s, len,
"Forcibly disable sRGB FBO support. Some Intel \n"
"OpenGL drivers on Windows have video problems \n"
"with sRGB FBO support enabled.");
break;
case MENU_ENUM_LABEL_AUDIO_ENABLE:
snprintf(s, len,
"Will enable audio or not.");
@ -92,10 +128,48 @@ int menu_hash_get_help_us_enum(enum msg_hash_enums msg, char *s, size_t len)
"Offset for where messages will be placed \n"
"onscreen. Values are in range [0.0, 1.0].");
break;
case MENU_ENUM_LABEL_INPUT_OVERLAY_ENABLE:
snprintf(s, len,
"Enable or disable the current overlay.");
break;
case MENU_ENUM_LABEL_INPUT_OVERLAY_HIDE_IN_MENU:
snprintf(s, len,
"Hide the current overlay from appearing \n"
"in menu screens.");
break;
case MENU_ENUM_LABEL_OVERLAY_PRESET:
snprintf(s, len,
"Path to input overlay.");
break;
case MENU_ENUM_LABEL_OVERLAY_OPACITY:
snprintf(s, len,
"Overlay opacity.");
break;
case MENU_ENUM_LABEL_INPUT_BIND_TIMEOUT:
snprintf(s, len,
"Input bind timer timeout (in seconds). \n"
"Amount of seconds to wait until proceeding \n"
"to the next bind.");
break;
case MENU_ENUM_LABEL_KEYBOARD_OVERLAY_PRESET:
snprintf(s, len,
"Path to onscreen keyboard overlay.");
break;
case MENU_ENUM_LABEL_OVERLAY_SCALE:
snprintf(s, len,
"Overlay scale.");
break;
case MENU_ENUM_LABEL_AUDIO_OUTPUT_RATE:
snprintf(s, len,
"Audio output samplerate.");
break;
case MENU_ENUM_LABEL_VIDEO_SHARED_CONTEXT:
snprintf(s, len,
"Set to true if hardware-rendered cores \n"
"should get their private context.");
"should get their private context. \n"
"Avois having to assume hardware state changes \n"
"inbetween frames."
);
break;
case MENU_ENUM_LABEL_CORE_LIST:
snprintf(s, len,
@ -992,10 +1066,50 @@ int menu_hash_get_help_us_enum(enum msg_hash_enums msg, char *s, size_t len)
snprintf(s, len,
"Turbo period.\n"
" \n"
"Describes speed of which turbo-enabled\n"
"buttons toggle."
"Describes the period of which turbo-enabled\n"
"buttons toggle.\n"
" \n"
"Numbers are described in frames."
);
break;
case MENU_ENUM_LABEL_INPUT_DUTY_CYCLE:
snprintf(s, len,
"Duty cycle.\n"
" \n"
"Describes how long the period of a turbo-enabled\n"
"should be.\n"
" \n"
"Numbers are described in frames."
);
break;
case MENU_ENUM_LABEL_MOUSE_ENABLE:
snprintf(s, len, "Enable mouse input inside the menu.");
break;
case MENU_ENUM_LABEL_POINTER_ENABLE:
snprintf(s, len, "Enable touch input inside the menu.");
break;
case MENU_ENUM_LABEL_MENU_WALLPAPER:
snprintf(s, len, "Path to an image to set as menu wallpaper.");
break;
case MENU_ENUM_LABEL_NAVIGATION_WRAPAROUND:
snprintf(s, len,
"Wrap-around to beginning and/or end \n"
"if boundary of list is reached \n"
"horizontally and/or vertically.");
break;
case MENU_ENUM_LABEL_MENU_DRIVER:
snprintf(s, len, "Menu driver to use.");
break;
case MENU_ENUM_LABEL_INPUT_MENU_ENUM_TOGGLE_GAMEPAD_COMBO:
snprintf(s, len,
"Gamepad button combination to toggle menu. \n"
" \n"
"0 - None \n"
"1 - Press L + R + Y + D-Pad Down \n"
"simultaneously. \n"
"2 - Press L3 + R3 simultaneously. \n"
"3 - Press Start + Select simultaneously.");
break;
case MENU_ENUM_LABEL_INPUT_AUTODETECT_ENABLE:
snprintf(s, len,
"Enable input auto-detection.\n"

View File

@ -112,7 +112,7 @@
# Video driver to use. "gl", "xvideo", "sdl"
# video_driver = "gl"
# Which OpenGL context implementation to use.
# Which context implementation to use.
# Possible ones for desktop are: glx, x-egl, kms-egl, sdl-gl, wgl.
# By default, tries to use first suitable driver.
# video_context_driver =
@ -141,7 +141,8 @@
# Video vsync.
# video_vsync = true
# Video swapchain images.
# Max amount of swapchain images.
# Single buffering = 1, Double buffering = 2, 3 = Triple buffering
# video_max_swapchain_images = 3
# Forcibly disable sRGB FBO support. Some Intel OpenGL drivers on Windows
@ -306,13 +307,13 @@
# Hide the current overlay from appearing in menu screens.
# input_overlay_hide_in_menu = true
# Path to input overlay
# Path to input overlay.
# input_overlay =
# Overlay opacity
# Overlay opacity.
# input_overlay_opacity = 1.0
# Overlay scale
# Overlay scale.
# input_overlay_scale = 1.0
#### OSK (Onscreen Keyboard) Overlay
@ -320,13 +321,13 @@
# Defines a directory where overlays are kept for easy access.
# osk_overlay_directory =
# Enable OSK overlay.
# Enable onscreen keyboard overlay.
# input_osk_overlay_enable = true
# Path to OSK overlay
# Path to onscreen keyboard overlay.
# input_osk_overlay =
# OSK Overlay opacity
# OSK Overlay opacity.
# input_osk_overlay_opacity = 1.0
# OSK Overlay scale
@ -373,7 +374,7 @@
# Influence how input polling is done inside RetroArch.
# 0 : Early - Input polling is performed before call to retro_run.
# 1 : Normal - Input polling is performend when retro_input_poll is
# 1 : Normal - Input polling is performed when retro_input_poll is
# requested.
# 2 : Late - Input polling is performed on first call to retro_input_state
# per frame
@ -643,7 +644,7 @@
# Shows current core inside menu.
# menu_core_enable = true
# Path to a .png image to set as menu wallpaper.
# Path to an image to set as menu wallpaper.
# menu_wallpaper =
# Dynamically load a new wallpaper depending on context.
@ -652,11 +653,8 @@
# Type of thumbnail to display. 0 = none, 1 = snaps, 2 = titles, 3 = boxarts
# menu_thumbnails = 0
# Wrap-around toe beginning and/or end if boundary of list reached horizontally
# menu_navigation_wraparound_horizontal_enable = false
# Wrap-around to beginning and/or end if boundary of list reached vertically
# menu_navigation_wraparound_vertical_enable = false
# Wrap-around to beginning and/or end if boundary of list is reached horizontally or vertically
# menu_navigation_wraparound_enable = false
# Filter files being show in 'Load Content' by supported extensions
# menu_navigation_browser_filter_supported_extensions_enable = true