[client] egl: add options for maximum NV level and initial level

Adds options:

 * egl:nvGain
 * egl:nvGainMax

Fixes #153
This commit is contained in:
Geoffrey McRae
2019-05-23 16:32:18 +10:00
parent 5af88ae61e
commit 3585e02993
3 changed files with 21 additions and 3 deletions

View File

@@ -101,6 +101,20 @@ static struct Option egl_options[] =
.type = OPTION_TYPE_BOOL,
.value.x_bool = false
},
{
.module = "egl",
.name = "nvGainMax",
.description = "The maximum night vision gain",
.type = OPTION_TYPE_INT,
.value.x_int = 1
},
{
.module = "egl",
.name = "nvGain",
.description = "The initial night vision gain at startup",
.type = OPTION_TYPE_INT,
.value.x_int = 0
},
{0}
};