Jump to content




Keypress inputs?


  • You cannot reply to this topic
2 replies to this topic

#1 wonderdude

  • Members
  • 6 posts

Posted 10 August 2012 - 12: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 :/

#2 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 10 August 2012 - 01:00 AM

Here is the list of KeyCodes: http://www.minecraft.../wiki/Key_Codes

#3 wonderdude

  • Members
  • 6 posts

Posted 10 August 2012 - 01:24 AM

View Postcraniumkid22, on 10 August 2012 - 01:00 AM, said:

Here is the list of KeyCodes: http://www.minecraft.../wiki/Key_Codes

Thank you sooo much ;)/>





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users