added VFD toggle to config

This commit is contained in:
2024-02-06 12:34:11 +01:00
parent dae3018411
commit 451a7ec49d
33 changed files with 111 additions and 15 deletions

View File

@ -37,6 +37,7 @@ void cm_hook_config_load(
aime_config_load(&cfg->aime, filename);
dvd_config_load(&cfg->dvd, filename);
io4_config_load(&cfg->io4, filename);
vfd_config_load(&cfg->vfd, filename);
touch_screen_config_load(&cfg->touch, filename);
cm_dll_config_load(&cfg->dll, filename);
}

View File

@ -16,6 +16,7 @@ struct cm_hook_config {
struct aime_config aime;
struct dvd_config dvd;
struct io4_config io4;
struct vfd_config vfd;
struct cm_dll_config dll;
struct touch_screen_config touch;
};

View File

@ -60,7 +60,7 @@ static DWORD CALLBACK cm_pre_startup(void)
goto fail;
}
hr = vfd_hook_init(2);
hr = vfd_hook_init(&cm_hook_cfg.vfd, 2);
if (FAILED(hr)) {
goto fail;