commit b8f7619012abeeb035493e65891812aea96090bc
parent 186eeb2ae940b68fc8c4267eaac495b1d91d9f46
Author: rbckman <rob@tarina.org>
Date: Wed, 11 Oct 2023 17:58:22 +0100
change del and view
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tarina.py b/tarina.py
@@ -1321,7 +1321,7 @@ def main():
quality += 1
elif menu[selected] == 'CAMERA:':
if camselected < len(cameras)-1:
- newselected = camselected+1
+ camselected = camselected+1
logger.info('camera selected:'+str(camselected))
#LEFT
@@ -1485,7 +1485,7 @@ def main():
quality -= 1
elif menu[selected] == 'CAMERA:':
if camselected > 0:
- newselected = camselected-1
+ camselected = camselected-1
logger.info('camera selected:'+str(camselected))
#RIGHT
@@ -4356,9 +4356,9 @@ def getbutton(lastbutton, buttonpressed, buttontime, holdbutton):
pressed = 'record'
elif event == 'KEY_PGDOWN' or (readbus == 253 and readbus2 == 247):
pressed = 'retake'
- elif event == 'KEY_TAB' or (readbus == 223 and readbus2 == 247):
+ elif event == 'KEY_TAB' or readbus2 == 246:
pressed = 'view'
- elif event == 'KEY_DELETE' or readbus2 == 246:
+ elif event == 'KEY_DELETE' or (readbus == 223 and readbus2 == 247):
pressed = 'remove'
elif (readbus2 == 245 and readbus == 191):
pressed = 'peak'