tarina

git clone https://git.tarina.org/tarina
Log | Files | Refs | README | LICENSE

commit db868cab6c52f054af8e0a93a9ef86055f464a14
parent 734b3df443280c120776fbcbb9734d075ce7456d
Author: rbckman <rob@tarina.org>
Date:   Sun, 29 Oct 2023 16:59:09 +0000

button change

Diffstat:
Mtarina.py | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/tarina.py b/tarina.py @@ -4438,15 +4438,15 @@ def getbutton(lastbutton, buttonpressed, buttontime, holdbutton): pressed = 'screen' elif (readbus2 == 245 and readbus == 127): pressed = 'showmenu' - elif (readbus2 == 245 and readbus == 251): - pressed = 'showhelp' - elif (readbus2 == 244): + elif (readbus2 == 245 and readbus == 239): pressed = 'changemode' - elif event == 'I' or event == 'P' or (readbus2 == 245 and readbus == 239): + elif (readbus2 == 245 and readbus == 247): + pressed = 'showhelp' + elif event == 'I' or event == 'P' or (readbus2 == 245 and readbus == 253): pressed = 'insert' - elif event == 'C' or (readbus2 == 245 and readbus == 254): + elif event == 'C' or (readbus2 == 244): pressed = 'copy' - elif event == 'M' or (readbus2 == 245 and readbus == 253): + elif event == 'M' or (readbus2 == 245 and readbus == 254): pressed = 'move' #elif readbus2 == 247: # pressed = 'shutdown'