Log OSD visibility (#1198)

* Add option to log OSD visibility

* Use log_file_entry option in place of log_osd_visible option
This commit is contained in:
Arrghus8
2026-05-19 00:19:32 -04:00
committed by GitHub
parent 136737b4be
commit 9e5bafb035

View File

@@ -4137,6 +4137,7 @@ void user_io_osd_key_enable(char on)
{
//printf("OSD is now %s\n", on ? "visible" : "invisible");
osd_is_visible = on;
if (cfg.log_file_entry) MakeFile("/tmp/OSD_VISIBLE", on ? "1" : "0");
input_switch(-1);
}