Calculator Community > Lua
Codes for touchpad, arrow keys, select button, other keys?
Spyro543:
I know this code is correct for the up arrow
--- Code: (up arrow) ---function on.arrowUp
--what to do goes here
end
--- End code ---
Do I just replace the Up in on.arrowUp with whatever direction? and also: Does anyone here know what the Lua codes for detecting what happens with the touchpad, select button, and other keys?
apcalc:
Here is a list of all of the keys that can be "controlled" with Lua (notice on.charLn for non-arrow key characters)
Also, I think you might need a "()" after function.arrowUp (making it read "function.arrowUp()")
Levak:
http://www.inspired-lua.org/
Spyro543:
--- Quote from: apcalc on June 05, 2011, 06:31:24 pm ---Here is a list of all of the keys that can be "controlled" with Lua
--- End quote ---
Where is the list?
Levak:
--- Quote from: Spyro543 on June 05, 2011, 06:46:18 pm ---
--- Quote from: apcalc on June 05, 2011, 06:31:24 pm ---Here is a list of all of the keys that can be "controlled" with Lua
--- End quote ---
Where is the list?
--- End quote ---
All the "basic questions" like this one are answered when looking at http://www.inspired-lua.org/ and http://wiki.inspired-lua.org/
Navigation
[0] Message Index
[#] Next page
Go to full version