Skip to content

genesys: Enable gamma setting when contrast or brightness is adjusted

Brightness and contrast adjustments are handled via gamma tables and thus gamma functionality is required for these settings to have any effect.

Previously if the device has a sensor with identity gamma (gamma = {1, 1, 1}), then gamma tables were turned off, consequently brightness and contrast settings had no effect.

Fixes #271 (closed).

Thank you @gunnarhj and @Stk for investigation and preliminary fixes.

Merge request reports