Proxmark3 community

Research, development and trades concerning the powerful Proxmark3 device.

Remember; sharing is caring. Bring something back to the community.


"Learn the tools of the trade the hard way." +Fravia

You are not logged in.

Announcement

Time changes and with it the technology
Proxmark3 @ discord

Users of this forum, please be aware that information stored on this site is not private.

#1 2015-05-29 15:39:37

Kitesg
Member
Registered: 2015-03-18
Posts: 4

ukbhit() - lua script

hi,

I am trying to call core.ukbhit() twice on my lua script but once it is called and this is set to true, the second call doesn't wait for a key to be pressed as core.ukbhit is already set to true.

How can I reset ukbhit back to false? So it enters the following while loop:

while not core.ukbhit() do
    Blah...
end

If have tried the following without any luck:

core.clearCommadBuffer()

core.ukbhit(false)

Thanks

Offline

Board footer

Powered by FluxBB