From e8a8435d93452c1754fcb1a4b62951d441d3f6bb Mon Sep 17 00:00:00 2001 From: birdybro Date: Sat, 20 Aug 2022 04:08:36 -0600 Subject: [PATCH] ini_settings.sh: Add video_off setting (#96) --- ini_settings.sh | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/ini_settings.sh b/ini_settings.sh index 13070aa..7134f6e 100644 --- a/ini_settings.sh +++ b/ini_settings.sh @@ -18,6 +18,7 @@ # You can download the latest version of this script from: # https://github.com/MiSTer-devel/Scripts_MiSTer +# Version 1.2.3 - 2022-08-19 - Add video_off timeout setting from Main_MiSTer # Version 1.2.2 - 2022-07-18 - Added various missing .ini options from the last couple years like vrr_mode (and the refresh min max for that), hdmi_game_mode, wheel_force, one extra video_mode that uses pixel repetition, vga_sog (which has always been there but was left out of the template .ini). # Version 1.2.1 - 2020-05-27 - Added support for osd_rotate, refresh_min, refresh_max, jammasd_vid, jammasd_pid, sniper_mode and browse_expand; added video_mode values 12 (1920x1440 60Hz) and 13 (2048x1536 60Hz); rearranged the options order. # Version 1.2 - 2020-03-03 - Added support for menu_pal, osd_timeout, recents, reset_combo and controller_info; MiSTer_alt.ini is created when missing. @@ -61,7 +62,7 @@ DIALOG_HEIGHT="31" FONTS_DIRECTORY="/media/fat/font" FONTS_EXTENSION="pf" -INI_KEYS="video_mode vscale_mode vsync_adjust vrr_mode hdmi_game_mode hdmi_audio_96k direct_video hdmi_limited dvi_mode vscale_border vga_scaler forced_scandoubler vga_sog ypbpr composite_sync video_mode_ntsc video_mode_pal refresh_min refresh_max vrr_min_framerate vrr_max_framerate vrr_vesa_framerate menu_pal osd_rotate browse_expand rbf_hide_datecode fb_terminal fb_size osd_timeout video_info controller_info recents font volumectl mouse_throttle wheel_force sniper_mode bootscreen reset_combo key_menu_as_rgui keyrah_mode jammasd_vid jammasd_pid bootcore bootcore_timeout" +INI_KEYS="video_mode vscale_mode vsync_adjust vrr_mode hdmi_game_mode hdmi_audio_96k direct_video hdmi_limited dvi_mode vscale_border vga_scaler forced_scandoubler vga_sog ypbpr composite_sync video_mode_ntsc video_mode_pal refresh_min refresh_max vrr_min_framerate vrr_max_framerate vrr_vesa_framerate menu_pal osd_rotate browse_expand rbf_hide_datecode fb_terminal fb_size osd_timeout video_off video_info controller_info recents font volumectl mouse_throttle wheel_force sniper_mode bootscreen reset_combo key_menu_as_rgui keyrah_mode jammasd_vid jammasd_pid bootcore bootcore_timeout" KEY_video_mode=( "Video resolution and frequency" @@ -442,6 +443,22 @@ KEY_osd_timeout=( "3600|1 hour" ) +KEY_video_off=( + "Turn screen black in the menu core after a certain amount of seconds of inactivity. Valid only if osd_timeout is not set to zero." + "0|Off" + "30|30 seconds" + "60|1 minute" + "120|2 minutes" + "180|3 minutes" + "240|4 minutes" + "300|5 minutes" + "600|10 minutes" + "900|15 minutes" + "1800|30 minutes" + "2700|45 minutes" + "3600|1 hour" +) + KEY_video_info=( "Sets the number of seconds video info will be displayed on startup/change" "0|Off"