1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-07-24 15:59:42 +02:00

animations and fix some bugs

This commit is contained in:
dbarzin 2022-07-25 01:00:07 +02:00
parent 7d52bcdfd6
commit db4600dadc
29 changed files with 104 additions and 106 deletions

View file

@ -3,9 +3,12 @@ import os;
def waitMouseClick():
mouse = open( "/dev/input/mice", "rb" )
down = False;
while True:
buf = mouse.read(3)
if ((buf[0] & 0x1)==1):
down = True
if (((buf[0] & 0x1)==0) and down):
break;
mouse.close()