Page 1 of 1

Keypress Event

Posted: Fri Nov 27, 2009 9:47 am
by FactorY
how do you go about coding in lua to check for a keypress event?

i want to be able to press any key, which will then call a function that figures out which key was pressed, and acts accordingly

thanks

Re: Keypress Event

Posted: Fri Nov 27, 2009 10:27 am
by Administrator