src/video

This commit is contained in:
Jasmine Iwanek
2022-04-09 20:09:14 -04:00
parent 3431e01d4a
commit d28cec126a
26 changed files with 1209 additions and 543 deletions

View File

@@ -608,21 +608,44 @@ speed_changed(void *priv)
recalc_timings(dev);
}
static const device_config_t hercules_config[] = {
// clang-format off
{
"rgb_type", "Display type", CONFIG_SELECTION, "", 0, "", { 0 },
{
{ "Default", 0 },
{ "Green", 1 },
{ "Amber", 2 },
{ "Gray", 3 },
{ "" }
.name = "rgb_type",
.description = "Display type",
.type = CONFIG_SELECTION,
.default_int = 0,
.selection = {
{
.description = "Default",
.value = 0
},
{
.description = "Green",
.value = 1
},
{
.description = "Amber",
.value = 2
},
{
.description = "Gray",
.value = 3
},
{
.description = ""
}
}
},
{ "blend", "Blend", CONFIG_BINARY, "", 1 },
{ "", "", -1 }
{
.name = "blend",
.description = "Blend",
.type = CONFIG_BINARY,
.default_int = 1
},
{
.type = CONFIG_END
}
// clang-format on
};