If anyone has seen the CHDK Wikia page, there is a script for testing input.
However, this script was written in uBasic...
I plan to make a clicker game(for now) using Lua/uBasic
I need to know if there is any way to make procedures/methods of sorts to change a variable's value after a click. In the script I mentioned above, 'gosub' is used to call a procedure, which prints the key you just clicked. I am using Lua, as there is IO and more support generally, and so I want to know how to replicate this. The only way I know how to, is by creating separate files and opening them, however, this might be intensive for cameras to handle...
Please tell me your thoughts, and if you can, help me script...