feat: simple global control for backlight/brightness and volume (#6684)
This commit is contained in:
@@ -450,25 +450,27 @@ static const struct YamlNode struct_RadioData[] = {
|
||||
YAML_SIGNED( "imuMax", 8 ),
|
||||
YAML_SIGNED( "imuOffset", 8 ),
|
||||
YAML_STRING("selectedTheme", 26),
|
||||
YAML_SIGNED_CUST( "backlightSrc", 10, r_mixSrcRawEx, w_mixSrcRawEx ),
|
||||
YAML_SIGNED( "radioGFDisabled", 1 ),
|
||||
YAML_SIGNED( "radioTrainerDisabled", 1 ),
|
||||
YAML_SIGNED( "modelHeliDisabled", 1 ),
|
||||
YAML_SIGNED( "modelFMDisabled", 1 ),
|
||||
YAML_SIGNED( "modelCurvesDisabled", 1 ),
|
||||
YAML_SIGNED( "modelGVDisabled", 1 ),
|
||||
YAML_SIGNED_CUST( "volumeSrc", 10, r_mixSrcRawEx, w_mixSrcRawEx ),
|
||||
YAML_SIGNED( "modelLSDisabled", 1 ),
|
||||
YAML_SIGNED( "modelSFDisabled", 1 ),
|
||||
YAML_SIGNED( "modelCustomScriptsDisabled", 1 ),
|
||||
YAML_SIGNED( "modelTelemetryDisabled", 1 ),
|
||||
YAML_SIGNED( "disableTrainerPoweroffAlarm", 1 ),
|
||||
YAML_SIGNED( "disablePwrOnOffHaptic", 1 ),
|
||||
YAML_UNSIGNED( "modelQuickSelect", 1 ),
|
||||
YAML_UNSIGNED( "labelSingleSelect", 1 ),
|
||||
YAML_UNSIGNED( "labelMultiMode", 1 ),
|
||||
YAML_UNSIGNED( "favMultiMode", 1 ),
|
||||
YAML_UNSIGNED( "modelSelectLayout", 2 ),
|
||||
YAML_UNSIGNED( "radioThemesDisabled", 1 ),
|
||||
YAML_UNSIGNED( "radioGFDisabled", 1 ),
|
||||
YAML_UNSIGNED( "radioTrainerDisabled", 1 ),
|
||||
YAML_UNSIGNED( "modelHeliDisabled", 1 ),
|
||||
YAML_UNSIGNED( "modelFMDisabled", 1 ),
|
||||
YAML_UNSIGNED( "modelCurvesDisabled", 1 ),
|
||||
YAML_UNSIGNED( "modelGVDisabled", 1 ),
|
||||
YAML_UNSIGNED( "modelLSDisabled", 1 ),
|
||||
YAML_UNSIGNED( "modelSFDisabled", 1 ),
|
||||
YAML_UNSIGNED( "modelCustomScriptsDisabled", 1 ),
|
||||
YAML_UNSIGNED( "modelTelemetryDisabled", 1 ),
|
||||
YAML_UNSIGNED( "disableTrainerPoweroffAlarm", 1 ),
|
||||
YAML_UNSIGNED( "disablePwrOnOffHaptic", 1 ),
|
||||
YAML_UNSIGNED( "modelQuickSelect", 1 ),
|
||||
YAML_PADDING( 5 ),
|
||||
YAML_PADDING( 1 ),
|
||||
YAML_UNSIGNED( "pwrOffIfInactive", 8 ),
|
||||
YAML_ARRAY("keyShortcuts", 8, 6, struct_QuickMenuPage, NULL),
|
||||
YAML_ARRAY("qmFavorites", 8, 12, struct_QuickMenuPage, NULL),
|
||||
|
||||
Reference in New Issue
Block a user