mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
fix/refactor backlight stuff (#394)
* fix/refactor backlight stuff: - fix colors dont turn of when backlight 0 and black is set - add option to use not colored backlight - fix colored backlight not colored on very low color values - various code style tunings * apply needed change to wizard * backlight disabled on static color and efects * fix warnings * try fix udp compiler warnings
This commit is contained in:
@@ -49,7 +49,8 @@
|
||||
/// * 'gammaRed'/'gammaGreen'/'gammaBlue' : Gamma value for each channel
|
||||
/// * 'id' : The unique identifier of the channel adjustments (eg 'device_1')
|
||||
/// * 'id' : The unique identifier of the channel adjustments (eg 'device_1')
|
||||
/// * 'brightnessMin' : Minimum brightness (backlight)
|
||||
/// * 'backlightThreshold' : Minimum brightness (backlight)
|
||||
/// * 'backlightColored' : backlight with color, instead of white
|
||||
/// * 'brightness' : Between 0.0-0.5 the brightness is linearized (white is as bright as red, is as bright as yellow).
|
||||
/// Between 0.5-1.0 the linearization reduces slowly until it's gone with 1.0 (white is 3x brighter than red, yellow is 2x brighter than red)
|
||||
"color" :
|
||||
@@ -71,7 +72,8 @@
|
||||
"gammaRed" : 1.0,
|
||||
"gammaGreen" : 1.0,
|
||||
"gammaBlue" : 1.0,
|
||||
"brightnessMin" : 0.0,
|
||||
"backlightThreshold" : 0.0,
|
||||
"backlightColored" : false,
|
||||
"brightness" : 0.5
|
||||
}
|
||||
]
|
||||
|
@@ -38,7 +38,8 @@
|
||||
"gammaRed" : 1.0,
|
||||
"gammaGreen" : 1.0,
|
||||
"gammaBlue" : 1.0,
|
||||
"brightnessMin" : 0.0,
|
||||
"backlightThreshold" : 0.0,
|
||||
"backlightColored" : false,
|
||||
"brightness" : 0.75
|
||||
}
|
||||
]
|
||||
|
Reference in New Issue
Block a user