This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
wonderdude's profile picture

Keypress inputs?

Started by wonderdude, 09 August 2012 - 11:51 PM
wonderdude #1
Posted 10 August 2012 - 01:51 AM
This is probably a really stupid question.

but i have been looking for hours trying to find out what keypress input language or whatever its called is used for LUA

the code i need is "if key == x then"

i know enter = 28

up and w is 17 and 200

but i dont know where those numbers are comming from.

could anyone be so awesome and provide me with a name of this table?

the only one i know of is ASCII but that doesnt seem to work with LUA :/
Cranium #2
Posted 10 August 2012 - 02:00 AM
Here is the list of KeyCodes: http://www.minecraftwiki.net/wiki/Key_Codes
wonderdude #3
Posted 10 August 2012 - 02:24 AM

Thank you sooo much ;)/>/>