tarina

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

commit d18dbc1a6769a7e7e79ad7df132da5323f84e517
parent 515c7b7f5b5f6f759305382ce7c19c4e22213b02
Author: rob <rob@tarina.org>
Date:   Sun, 29 Oct 2023 19:03:35 +0200

Merge branch 'master' of https://git.tarina.org/tarina

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'