commit f3c25b216182ee0b876b10be27b0f1a7e47e85cf parent 6652c19e334a80c63a38ee3da1f4a1885d16cbdd Author: rbckman <rob@tarina.org> Date: Fri, 30 Apr 2021 06:12:22 +0100 default values to brightness, contrast and saturation on middle button press Diffstat:
M | tarina.py | | | 7 | +++++++ |
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/tarina.py b/tarina.py @@ -615,6 +615,13 @@ def main(): else: stream = stopstream(camera, stream) live = 'no' + elif pressed == 'middle' and menu[selected] == 'BRIGHT:': + camera.brightness = 50 + elif pressed == 'middle' and menu[selected] == 'CONT:': + camera.contrast = 0 + elif pressed == 'middle' and menu[selected] == 'SAT:': + camera.saturation = 0 + #UP elif pressed == 'up': if menu[selected] == 'BRIGHT:':