
-----------------------------------
chalcids
Fri Dec 16, 2011 5:42 pm

Keyboard keys
-----------------------------------
What are the rest of the code for the letter keys because the arrow keys are (KEY_DOWN_ARROW)

-----------------------------------
Tony
Fri Dec 16, 2011 5:48 pm

RE:Keyboard keys
-----------------------------------
[tdoc]keycodes[/tdoc]

-----------------------------------
chalcids
Sat Dec 17, 2011 5:35 pm

RE:Keyboard keys
-----------------------------------
that doesn't help i need to know to do KEY_(something to use the key f)

-----------------------------------
Raknarg
Sat Dec 17, 2011 5:50 pm

RE:Keyboard keys
-----------------------------------
('f')

make sure to use single quote marks

-----------------------------------
chalcids
Sat Dec 17, 2011 5:55 pm

RE:Keyboard keys
-----------------------------------
so it would be KEY_'F'

-----------------------------------
Insectoid
Sat Dec 17, 2011 6:05 pm

RE:Keyboard keys
-----------------------------------
No, just 'f'.

-----------------------------------
RandomLetters
Sat Dec 17, 2011 9:44 pm

RE:Keyboard keys
-----------------------------------
KEY_DOWN_ARROW is just a number constant

when you call [tdoc]Input.KeyDown[/tdoc] or something, and look at chars(KEY_DOWN_ARRAY) or chars('f') it's really the same as using chars(n) where n is a number from the chart Tony posted.
