10-09-2011, 07:58 PM
yes, it works now, but i'm really looking for simultaneous keys pressed from all semirows, like from this example:
the code below works, it reads from both cursors and 'wsad' keys
the code below works, it reads from both cursors and 'wsad' keys
Code:
cls
main:
print at 0,0;" "
v1=((255-(in 64510)) band 2)/2 bor ((255-(in 65022)) band 2) bor ((255-(in 65022)) band 1)*4 bor ((255-(in 65022)) band 4)*2
v2=((255-(in 61438)) band 8)/8 bor ((255-(in 61438)) band 16)/8 bor ((255-(in 63486)) band 16)/4 bor ((255-(in 61438)) band 4)*2
v3=v1 bor v2
print v3;" "
goto main