
-----------------------------------
AzureFire
Sun May 07, 2006 10:02 pm

Options for Input.KeyDown?
-----------------------------------
Hey, I'm messing around with key bindings and I wanted to know what all of the available options were for Input.KeyDown()

I know that you can do something like this;
key('q') and key(KEY_UP_ARROW)

But what about buttons like Escape and Enter, can they be detected?

-----------------------------------
Tony
Sun May 07, 2006 10:28 pm


-----------------------------------
yes, every key can be detected.

You can look up all the constants in Turing's Help Manual, under Input.KeyDown (F10)

Additally I think you could generate an inverse of key's ASCII value to use

chr(number)

-----------------------------------
AzureFire
Mon May 08, 2006 7:06 am


-----------------------------------
Ah, ok. When I looked in the help file all I saw was what I posted above, I missed the part about the appendix. It was a little burried, but I found it :).

Thanks Tony.

-----------------------------------
codemage
Mon May 08, 2006 8:11 am


-----------------------------------
The list is under "keyboard" in the Turing help reference.
