tarina

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

commit 98179c1284e3d7d54892ea81ec02d38aba0277ee
parent e37e957936c5d7422a864c9f7a01d0a3f9c2b017
Author: rbckman <robinbackman@gmail.com>
Date:   Mon,  6 Mar 2017 17:05:31 +0000

nintendo tweak

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

diff --git a/tarina.py b/tarina.py @@ -1000,7 +1000,7 @@ def getbutton(lastbutton, buttonpressed, buttontime, holdbutton): holdbutton = pressed if readbus == 255: buttonpressed = False - if float(time.time() - buttontime) > 0.5 and buttonpressed == True: + if float(time.time() - buttontime) > 0.15 and buttonpressed == True: pressed = holdbutton return pressed, buttonpressed, buttontime, holdbutton @@ -1526,7 +1526,7 @@ def main(): writemenu(menu,settings,selected,header) #writemessage(pressed) rendermenu = False - time.sleep(0.05) + time.sleep(0.0555) if __name__ == '__main__': import sys try: