lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



lib.sys.kbhit()

You'll find it in gluax.

http://sourceforge.net/project/ showfiles.php?group_id=73737&release_id=143955


Ron Hudson kirjoittaa perjantaina, 31. lokakuuta 2003, kello 05:33:


Is there a way to gather single keystrokes from the user in lua?

or perhaps a way to see if any input is waiting without blocking on the request?


I want to write a game, but I need the computer to keep working while the user
decides what key top press.